OGS
NumLib::Extrapolator Class Referenceabstract

Detailed Description

Interface for classes that extrapolate integration point values to nodal values.

Definition at line 25 of file Extrapolator.h.

#include <Extrapolator.h>

Inheritance diagram for NumLib::Extrapolator:
[legend]

Public Member Functions

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 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
 
virtual GlobalVector const & getNodalValues () const =0
 
virtual GlobalVector const & getElementResiduals () const =0
 
virtual ~Extrapolator ()=default
 

Constructor & Destructor Documentation

◆ ~Extrapolator()

virtual NumLib::Extrapolator::~Extrapolator ( )
virtualdefault

Member Function Documentation

◆ calculateResiduals()

virtual void NumLib::Extrapolator::calculateResiduals ( const unsigned num_components,
ExtrapolatableElementCollection const & extrapolatables,
const double t,
std::vector< GlobalVector * > const & x,
std::vector< NumLib::LocalToGlobalIndexMap const * > const & dof_table )
pure virtual

Computes residuals from the extrapolation of the given property.

The residuals are computed as element values.

Precondition
extrapolate() must have been called before with the same arguments.

Implemented in NumLib::LocalLinearLeastSquaresExtrapolator.

Referenced by ProcessLib::makeExtrapolator().

◆ extrapolate()

virtual void NumLib::Extrapolator::extrapolate ( const unsigned num_components,
ExtrapolatableElementCollection const & extrapolatables,
const double t,
std::vector< GlobalVector * > const & x,
std::vector< NumLib::LocalToGlobalIndexMap const * > const & dof_table )
pure virtual

Extrapolates the given property from the given local assemblers.

Implemented in NumLib::LocalLinearLeastSquaresExtrapolator.

Referenced by ProcessLib::makeExtrapolator().

◆ getElementResiduals()

virtual GlobalVector const & NumLib::Extrapolator::getElementResiduals ( ) const
pure virtual

Returns the extrapolation residuals.

Todo
Maybe write directly to a MeshProperty.

Implemented in NumLib::LocalLinearLeastSquaresExtrapolator.

Referenced by ProcessLib::makeExtrapolator().

◆ getNodalValues()

virtual GlobalVector const & NumLib::Extrapolator::getNodalValues ( ) const
pure virtual

Returns the extrapolated nodal values.

Todo
Maybe write directly to a MeshProperty.

Implemented in NumLib::LocalLinearLeastSquaresExtrapolator.

Referenced by ProcessLib::makeExtrapolator().


The documentation for this class was generated from the following file: