OGS
Extrapolator.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <Eigen/Core>
14#include <vector>
15
18
19namespace NumLib
20{
21class LocalToGlobalIndexMap;
22
26{
27public:
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
Global vector based on Eigen vector.
Definition EigenVector.h:25
virtual ~Extrapolator()=default
virtual GlobalVector const & getNodalValues() const =0
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.
virtual GlobalVector const & getElementResiduals() const =0
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