Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::InnerResidual< F > Class Template Reference
Inheritance diagram for concepts::InnerResidual< F >:
concepts::OutputOperator

Public Member Functions

template<class G >
 InnerResidual (const SpaceOnCells< G > &spc)
 
template<class G >
 InnerResidual (const SpaceOnCells< G > &spc, LinearForm< F, G > &lform, const F a=1)
 
const concepts::ElementMatrix< F > & operator[] (uint quadKey)
 
const concepts::ElementMatrix< F > & operator() (uint quadKey) const
 
const F operator() (const hp2D::Quad< F > &quad, const uint locNode)
 
template<class G >
void add (LinearForm< F, G > &lform, const F a=1)
 

Protected Member Functions

std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<class F>
class concepts::InnerResidual< F >

Definition at line 54 of file innerResidual.hh.

Constructor & Destructor Documentation

◆ InnerResidual() [1/2]

template<class F >
template<class G >
concepts::InnerResidual< F >::InnerResidual ( const SpaceOnCells< G > &  spc)

Standard constructur builds up the mapping by default of each element of the Space spc.

Parameters
spcSpace on which the FEM-Solution was computed, e.g. hpAdaptiveSpaceH1

◆ InnerResidual() [2/2]

template<class F >
template<class G >
concepts::InnerResidual< F >::InnerResidual ( const SpaceOnCells< G > &  spc,
LinearForm< F, G > &  lform,
const F  a = 1 
)

Constructur building the mapping from element key to the local (inner) residuals. Additional you can hand over a Linearform scaled by a const value.

Parameters
spcSpace on which the fem solution was computed,
linformLinearform derived from the used Billinearforms and Linearforms.
aconst value to multiplace with the Linearform

◆ ~InnerResidual()

template<class F >
virtual concepts::InnerResidual< F >::~InnerResidual ( )
inlinevirtual

Definition at line 76 of file innerResidual.hh.

Member Function Documentation

◆ add()

template<class F >
template<class G >
void concepts::InnerResidual< F >::add ( LinearForm< F, G > &  lform,
const F  a = 1 
)

Add routine to build up the local inner Residuals. The input Linearform should be defined on the Space given by the Constructor itself. The Linearform have to evaluate only on edge and node basisfunctions (e.g. ) and not on inner ones.

◆ info()

template<class F >
std::ostream & concepts::InnerResidual< F >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 134 of file innerResidual.hh.

◆ operator()() [1/2]

template<class F >
const F concepts::InnerResidual< F >::operator() ( const hp2D::Quad< F > &  quad,
const uint  locNode 
)
inline

Read Operator returning the local inner residual corresponding to the requested first order basis function accessed via local nodal numbering on the given quad

Parameters
quadKeyKey of the requested element

Definition at line 105 of file innerResidual.hh.

◆ operator()() [2/2]

template<class F >
const concepts::ElementMatrix< F > & concepts::InnerResidual< F >::operator() ( uint  quadKey) const
inline

Const Read Operator for a requested list of local inner residuals to local basis functions.

Parameters
quadKeythe key of the requested element's local residuals
Returns
local inner residuals due to local numbering of basis functions

Definition at line 94 of file innerResidual.hh.

◆ operator[]()

template<class F >
const concepts::ElementMatrix< F > & concepts::InnerResidual< F >::operator[] ( uint  quadKey)
inline

Read Operator for a requested list of local inner residuals to local basis functions.

Parameters
quadKeythe key of the requested element's local residuals
Returns
local inner residuals due to local numbering of basis functions

Definition at line 83 of file innerResidual.hh.


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