Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::PiecewiseFormulaVector< dim, F, G, H > Class Template Referenceabstract
Inheritance diagram for concepts::PiecewiseFormulaVector< dim, F, G, H >:
concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim >, H > concepts::PiecewiseFormulaBase< F > concepts::ElementFormula< F, concepts::Realtype< F >::type > concepts::Cloneable concepts::OutputOperator

Public Types

typedef concepts::Realtype< F >::type G
 
typedefvalue_type
 

Public Member Functions

 PiecewiseFormulaVector (const Space< G > &spc, const Vector< F > &coeff, const ElementFunction< H, G > &fun)
 
virtual PiecewiseFormulaVector< dim, F, G, H > * clone () const
 Virtual copy constructor.
 
virtual Point< H, dim > operator() (const Connector &cell, const Real p, const Real t=0.0) const
 
virtual Point< H, dim > operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const
 
virtual Point< H, dim > operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 
virtual const F & dflt_value () const
 Gives default value.
 
virtual F & dflt_value ()
 Gives default value.
 

Protected Member Functions

const ElementWithCell< G > * element_ (const Connector &cell) const
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

const Space< G > & spc_
 Space.
 
Array< F > coeff_
 Solution vector.
 
const ElementFunction< H, G > * fun_
 Function of the FE function.
 
std::map< uint, const ElementWithCell< G > * > elm_
 Mapping from cell key to the element.
 

Detailed Description

template<uint dim, class F, class G, class H>
class concepts::PiecewiseFormulaVector< dim, F, G, H >

Definition at line 99 of file formula.hh.

Member Typedef Documentation

◆ G

template<typename F >
typedef concepts::Realtype<F>::type concepts::PiecewiseFormulaBase< F >::G
inherited

Definition at line 45 of file piecewiseFormula.hh.

◆ value_type

typedef F concepts::ElementFormula< F, concepts::Realtype< F >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ PiecewiseFormulaVector()

template<uint dim, class F , class G , class H >
concepts::PiecewiseFormulaVector< dim, F, G, H >::PiecewiseFormulaVector ( const Space< G > &  spc,
const Vector< F > &  coeff,
const ElementFunction< H, G > &  fun 
)

Definition at line 118 of file formula.hh.

Member Function Documentation

◆ clone()

template<uint dim, class F , class G , class H >
virtual PiecewiseFormulaVector< dim, F, G, H > * concepts::PiecewiseFormulaVector< dim, F, G, H >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 104 of file formula.hh.

◆ dflt_value() [1/2]

template<typename F >
virtual F & concepts::PiecewiseFormulaBase< F >::dflt_value ( )
inlinevirtualinherited

Gives default value.

Definition at line 83 of file piecewiseFormula.hh.

◆ dflt_value() [2/2]

template<typename F >
virtual const F & concepts::PiecewiseFormulaBase< F >::dflt_value ( ) const
inlinevirtualinherited

Gives default value.

Definition at line 81 of file piecewiseFormula.hh.

◆ element_()

const ElementWithCell< G > * concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::element_ ( const Connector cell) const
protectedinherited

Returns pointer to the element to which the cell cell or one of their children belongs. If not such a element exists, null pointer is returned.

Definition at line 52 of file formula.hh.

◆ info()

template<typename F >
std::ostream & concepts::PiecewiseFormulaBase< F >::info ( std::ostream &  os) const
protectedvirtualinherited

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in concepts::FormulaExpImag1D, concepts::FormulaExpImag2D, concepts::FormulaExpImag2DRadialDer, concepts::FormulaExpImag2DGrad, concepts::FormulaPMLPowerSigma< F >, concepts::FormulaPMLPowerSigma2D< F >, concepts::FormulaPMLPowerSigmaB2D< F >, concepts::ExplicitResidual< F >, estimator::PolynomialDegrees< dim >, estimator::KeysInfo< F >, concepts::BesselJ< n >, concepts::BesselY< n >, concepts::ConstFormula< F >, concepts::FormulaContainer< F >, concepts::Exp_i_n_phi, concepts::Cos_n_phi, concepts::Sin_n_phi, concepts::Exp_i_n_x, concepts::Cos_n_x, concepts::Sin_n_x, concepts::Exp_i_n_y, concepts::Cos_n_y, concepts::Sin_n_y, concepts::Frm_Product< F, H, J >, concepts::Frm_Sum< F, H, J >, concepts::ParsedFormula< Real >, concepts::ParsedFormula< Cmplx >, concepts::ParsedFormula< Real2d >, concepts::SphericalFormula< Real >, concepts::SphericalFormula< Real2d >, concepts::VectorFormula< F, dim >, concepts::PiecewiseFormula0< F >, concepts::PiecewiseConstFormula< F >, concepts::PiecewiseConstFormula< concepts::Point >, concepts::PiecewiseConstFormula< Real >, concepts::PiecewiseConstDynArrayFormula< F >, concepts::PiecewiseFormula< F >, concepts::PiecewiseFormula< Cmplx >, concepts::PiecewiseFormula< Cmplx2d >, concepts::PiecewiseFormula< concepts::Point >, concepts::PiecewiseFormula< Real >, concepts::PiecewiseFormulaFun< F, G >, concepts::PiecewiseFormulaFun< Cmplx, Real >, concepts::PiecewiseFormulaFun< Real, Real >, concepts::PiecewiseFormulaCombine< F, G, H, I >, concepts::FormulaFromElementFormula< dim, F, G >, concepts::Wsym_x< dim >, concepts::Wsym_y< dim >, concepts::Wunsym_x< dim >, concepts::Wunsym_y< dim >, concepts::FormulaPMLPowerSigma< F >, concepts::FormulaPMLPowerSigma2D< F >, concepts::FormulaPMLPowerSigmaB2D< F >, concepts::FormulaExpImag1D, concepts::FormulaExpImag2D, concepts::FormulaExpImag2DRadialDer, concepts::FormulaExpImag2DGrad, concepts::FormulaLayerPlaneWaveSource, concepts::FormulaLayerPlaneWaveSourceGrad, concepts::FormulaLayerPlaneWaveLayer, concepts::FormulaLayerPlaneWaveLayerGrad, and concepts::LocalEstimator< F >.

Definition at line 100 of file piecewiseFormula.hh.

◆ operator()() [1/9]

template<uint dim, class F , class G , class H >
Point< H, dim > concepts::PiecewiseFormulaVector< dim, F, G, H >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const
virtual

Gives the value in an particular cell on a particular point

Parameters
celltopological cell
pphysical coordinates
ttime

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 124 of file formula.hh.

◆ operator()() [2/9]

template<uint dim, class F , class G , class H >
Point< H, dim > concepts::PiecewiseFormulaVector< dim, F, G, H >::operator() ( const Connector cell,
const Real2d p,
const Real  t = 0.0 
) const
virtual

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 141 of file formula.hh.

◆ operator()() [3/9]

template<uint dim, class F , class G , class H >
Point< H, dim > concepts::PiecewiseFormulaVector< dim, F, G, H >::operator() ( const Connector cell,
const Real3d p,
const Real  t = 0.0 
) const
virtual

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 158 of file formula.hh.

◆ operator()() [4/9]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [5/9]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [6/9]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [7/9]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 52 of file piecewiseFormula.hh.

◆ operator()() [8/9]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 57 of file piecewiseFormula.hh.

◆ operator()() [9/9]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 63 of file piecewiseFormula.hh.

Member Data Documentation

◆ coeff_

Array<F> concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::coeff_
protectedinherited

Solution vector.

Definition at line 43 of file formula.hh.

◆ elm_

std::map<uint, const ElementWithCell<G>*> concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::elm_
protectedinherited

Mapping from cell key to the element.

Definition at line 47 of file formula.hh.

◆ fun_

const ElementFunction<H ,G>* concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::fun_
protectedinherited

Function of the FE function.

Definition at line 45 of file formula.hh.

◆ spc_

const Space<G>& concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::spc_
protectedinherited

Space.

Definition at line 41 of file formula.hh.


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