OGS
ConvergenceCriterionPerComponent.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
7#include "MathLib/LinAlg/LinAlg.h" // For MathLib::VecNormType
8
9namespace MeshLib
10{
11class Mesh;
12} // namespace MeshLib
13
14namespace NumLib
15{
17
22{
23public:
25 const MathLib::VecNormType norm_type)
26 : ConvergenceCriterion(norm_type)
27 {
28 }
29
31 virtual void setDOFTable(NumLib::LocalToGlobalIndexMap const& dof_table,
32 MeshLib::Mesh const& mesh) = 0;
33};
34
35} // 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)
ConvergenceCriterion(const MathLib::VecNormType norm_type)