OGS
Extrapolator.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <Eigen/Core>
14
#include <vector>
15
16
#include "
ExtrapolatableElementCollection.h
"
17
#include "
NumLib/NumericsConfig.h
"
18
19
namespace
NumLib
20
{
21
class
LocalToGlobalIndexMap;
22
25
class
Extrapolator
26
{
27
public
:
29
virtual
void
extrapolate
(
30
const
unsigned
num_components,
31
ExtrapolatableElementCollection
const
& extrapolatables,
32
const
double
t,
33
std::vector<GlobalVector*>
const
& x,
34
std::vector<NumLib::LocalToGlobalIndexMap const*>
const
& dof_table) = 0;
35
42
virtual
void
calculateResiduals
(
43
const
unsigned
num_components,
44
ExtrapolatableElementCollection
const
& extrapolatables,
45
const
double
t,
46
std::vector<GlobalVector*>
const
& x,
47
std::vector<NumLib::LocalToGlobalIndexMap const*>
const
& dof_table) = 0;
48
51
virtual
GlobalVector
const
&
getNodalValues
()
const
= 0;
52
55
virtual
GlobalVector
const
&
getElementResiduals
()
const
= 0;
56
57
virtual
~Extrapolator
() =
default
;
58
};
59
60
}
// namespace NumLib
ExtrapolatableElementCollection.h
NumericsConfig.h
MathLib::EigenVector
Global vector based on Eigen vector.
Definition
EigenVector.h:25
NumLib::ExtrapolatableElementCollection
Definition
ExtrapolatableElementCollection.h:30
NumLib::Extrapolator
Definition
Extrapolator.h:26
NumLib::Extrapolator::~Extrapolator
virtual ~Extrapolator()=default
NumLib::Extrapolator::getNodalValues
virtual GlobalVector const & getNodalValues() const =0
NumLib::Extrapolator::extrapolate
virtual void extrapolate(const unsigned num_components, ExtrapolatableElementCollection const &extrapolatables, const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table)=0
Extrapolates the given property from the given local assemblers.
NumLib::Extrapolator::getElementResiduals
virtual GlobalVector const & getElementResiduals() const =0
NumLib::Extrapolator::calculateResiduals
virtual void calculateResiduals(const unsigned num_components, ExtrapolatableElementCollection const &extrapolatables, const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table)=0
NumLib
Definition
ProjectData.h:46
NumLib
Extrapolation
Extrapolator.h
Generated by
1.12.0