OGS
ConvergenceCriterionPerComponent.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "ConvergenceCriterion.h"
14 #include "MathLib/LinAlg/LinAlg.h" // For MathLib::VecNormType
15 
16 namespace MeshLib
17 {
18 class Mesh;
19 } // namespace MeshLib
20 
21 namespace NumLib
22 {
23 class LocalToGlobalIndexMap;
24 
29 {
30 public:
32  const MathLib::VecNormType norm_type)
33  : ConvergenceCriterion(norm_type)
34  {
35  }
36 
38  virtual void setDOFTable(NumLib::LocalToGlobalIndexMap const& dof_table,
39  MeshLib::Mesh const& mesh) = 0;
40 };
41 
42 } // namespace NumLib
virtual void setDOFTable(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh)=0
Sets the d.o.f. table used to extract data for a specific component.
ConvergenceCriterionPerComponent(const MathLib::VecNormType norm_type)
VecNormType
Norm type. Not declared as class type in order to use the members as integers.
Definition: LinAlgEnums.h:22