hp3D::ElementFormulaVectorOnTrace< dim, F, G > Class Template Referenceabstract

Class for evaluation of solutions on the TraceSpace with an ElementFunction that is only given on the whole space. More...

#include <tracesEval.hh>

Inheritance diagram for hp3D::ElementFormulaVectorOnTrace< dim, F, G >:
concepts::ElementFormula< concepts::Point< Real, dim > > concepts::Cloneable concepts::OutputOperator

Public Types

typedef concepts::Point< Real, dim > value_type
 

Public Member Functions

virtual ElementFormulaVectorOnTrace< dim, F, G > * clone () const
 Virtual constructor. More...
 
virtual ElementFormula< concepts::Point< Real, dim >, typename Realtype< concepts::Point< Real, dim > >::type > * clone () const=0
 Virtual copy constructor. More...
 
 ElementFormulaVectorOnTrace (const TraceSpace &tspc, const Space &spc, const concepts::Vector< F > &vec, const concepts::ElementFunction< G, Real > &func)
 Constructor. More...
 
virtual concepts::Point< G, dim > operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real p, const concepts::Real t=0.0) const
 
virtual concepts::Point< G, dim > operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const concepts::Real t=0.0) const
 
virtual concepts::Point< G, dim > operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const concepts::Real t=0.0) const
 
virtual concepts::Point< Real, dim > operator() (const ElementWithCell< typename Realtype< concepts::Point< Real, dim > >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual concepts::Point< Real, dim > operator() (const ElementWithCell< typename Realtype< concepts::Point< Real, dim > >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual concepts::Point< Real, dim > operator() (const ElementWithCell< typename Realtype< concepts::Point< Real, dim > >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 

Protected Member Functions

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

Private Member Functions

const Element< Real > & getUnderlyingElementAndIndex_ (const concepts::ElementWithCell< Real > &elm, uint &face) const
 

Private Attributes

concepts::ElementFormulaVector< dim, F, G, Real > frmE_
 
std::unique_ptr< const concepts::ElementFunction< G, Real > > func_
 
const Spacespc_
 
const TraceSpacetspc_
 
const concepts::Vector< F > & vec_
 

Detailed Description

template<uint dim, class F = Real, class G = F>
class hp3D::ElementFormulaVectorOnTrace< dim, F, G >

Class for evaluation of solutions on the TraceSpace with an ElementFunction that is only given on the whole space.

Parameters
dimDimension of the result
Ftype of coefficients
Gtype of ElementFunction
Author
Philipp Kliewe, 2013

Definition at line 44 of file tracesEval.hh.

Member Typedef Documentation

◆ value_type

typedef concepts::Point< Real, dim > concepts::ElementFormula< concepts::Point< Real, dim > , typename Realtype<concepts::Point< Real, dim > >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ ElementFormulaVectorOnTrace()

template<uint dim, class F = Real, class G = F>
hp3D::ElementFormulaVectorOnTrace< dim, F, G >::ElementFormulaVectorOnTrace ( const TraceSpace tspc,
const Space spc,
const concepts::Vector< F > &  vec,
const concepts::ElementFunction< G, Real > &  func 
)

Constructor.

Parameters
tspcTraceSpace on wich the solution should be calculated. (The space that contains the elements which are used in the application operator)
spcThe space from which the TraceSpace was constructed from.
vecThe solution vector containing the coefficients.
funcThe elementfunction to evaluate (i.e. hp3D::Grad)

Member Function Documentation

◆ clone() [1/2]

template<uint dim, class F = Real, class G = F>
virtual ElementFormulaVectorOnTrace<dim,F,G>* hp3D::ElementFormulaVectorOnTrace< dim, F, G >::clone ( ) const
inlinevirtual

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Definition at line 72 of file tracesEval.hh.

◆ clone() [2/2]

virtual ElementFormula<concepts::Point< Real, dim > ,typename Realtype<concepts::Point< Real, dim > >::type >* concepts::ElementFormula< concepts::Point< Real, dim > , typename Realtype<concepts::Point< Real, dim > >::type >::clone
pure virtualinherited

Virtual copy constructor.

◆ getUnderlyingElementAndIndex_()

template<uint dim, class F = Real, class G = F>
const Element<Real>& hp3D::ElementFormulaVectorOnTrace< dim, F, G >::getUnderlyingElementAndIndex_ ( const concepts::ElementWithCell< Real > &  elm,
uint &  face 
) const
private

◆ info()

template<uint dim, class F = Real, class G = F>
virtual std::ostream& hp3D::ElementFormulaVectorOnTrace< dim, F, G >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

template<uint dim, class F = Real, class G = F>
virtual concepts::Point<G,dim> hp3D::ElementFormulaVectorOnTrace< dim, F, G >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real  p,
const concepts::Real  t = 0.0 
) const
virtual

◆ operator()() [2/6]

template<uint dim, class F = Real, class G = F>
virtual concepts::Point<G,dim> hp3D::ElementFormulaVectorOnTrace< dim, F, G >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const concepts::Real  t = 0.0 
) const
virtual

◆ operator()() [3/6]

template<uint dim, class F = Real, class G = F>
virtual concepts::Point<G,dim> hp3D::ElementFormulaVectorOnTrace< dim, F, G >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const concepts::Real  t = 0.0 
) const
virtual

◆ operator()() [4/6]

virtual concepts::Point< Real, dim > concepts::ElementFormula< concepts::Point< Real, dim > , typename Realtype<concepts::Point< Real, dim > >::type >::operator() ( const ElementWithCell< typename Realtype<concepts::Point< Real, dim > >::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/6]

virtual concepts::Point< Real, dim > concepts::ElementFormula< concepts::Point< Real, dim > , typename Realtype<concepts::Point< Real, dim > >::type >::operator() ( const ElementWithCell< typename Realtype<concepts::Point< Real, dim > >::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/6]

virtual concepts::Point< Real, dim > concepts::ElementFormula< concepts::Point< Real, dim > , typename Realtype<concepts::Point< Real, dim > >::type >::operator() ( const ElementWithCell< typename Realtype<concepts::Point< Real, dim > >::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

Member Data Documentation

◆ frmE_

template<uint dim, class F = Real, class G = F>
concepts::ElementFormulaVector<dim, F, G, Real> hp3D::ElementFormulaVectorOnTrace< dim, F, G >::frmE_
private

Definition at line 88 of file tracesEval.hh.

◆ func_

template<uint dim, class F = Real, class G = F>
std::unique_ptr<const concepts::ElementFunction<G, Real> > hp3D::ElementFormulaVectorOnTrace< dim, F, G >::func_
private

Definition at line 87 of file tracesEval.hh.

◆ spc_

template<uint dim, class F = Real, class G = F>
const Space& hp3D::ElementFormulaVectorOnTrace< dim, F, G >::spc_
private

Definition at line 85 of file tracesEval.hh.

◆ tspc_

template<uint dim, class F = Real, class G = F>
const TraceSpace& hp3D::ElementFormulaVectorOnTrace< dim, F, G >::tspc_
private

Definition at line 84 of file tracesEval.hh.

◆ vec_

template<uint dim, class F = Real, class G = F>
const concepts::Vector<F>& hp3D::ElementFormulaVectorOnTrace< dim, F, G >::vec_
private

Definition at line 86 of file tracesEval.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich