hp2D::ElementFormulaEdgeJump< F > Class Template Referenceabstract

Element formula for a jump value on edges of elements of an other element formula. More...

#include <formula.hh>

Inheritance diagram for hp2D::ElementFormulaEdgeJump< F >:
concepts::ElementFormula< F > concepts::Cloneable concepts::OutputOperator

Public Types

typedef F value_type
 

Public Member Functions

virtual ElementFormulaEdgeJump< F > * clone () const
 Virtual copy constructor. More...
 
virtual ElementFormula< F, typename Realtype< F >::type > * clone () const=0
 Virtual copy constructor. More...
 
 ElementFormulaEdgeJump (const hp2D::TraceSpace &spc, const concepts::Vector< F > &v, const concepts::ElementFunction< F > &f)
 
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const Real t=0.0) const
 
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const Real t=0.0) const
 
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
 
virtual F operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual F operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual F operator() (const ElementWithCell< typename Realtype< F >::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 Attributes

std::unique_ptr< const concepts::ElementFunction< F > > f_
 Element function. More...
 
const hp2D::TraceSpacespc_
 Trace space. More...
 
const concepts::Vector< F > & v_
 Coefficient vector. More...
 

Detailed Description

template<typename F>
class hp2D::ElementFormulaEdgeJump< F >

Element formula for a jump value on edges of elements of an other element formula.

The jump is the value on the side the normal vector points into minus the value on the other side.

Author
Kersten Schmidt, 2013

Definition at line 279 of file formula.hh.

Member Typedef Documentation

◆ value_type

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

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ ElementFormulaEdgeJump()

template<typename F >
hp2D::ElementFormulaEdgeJump< F >::ElementFormulaEdgeJump ( const hp2D::TraceSpace spc,
const concepts::Vector< F > &  v,
const concepts::ElementFunction< F > &  f 
)

Member Function Documentation

◆ clone() [1/2]

template<typename F >
virtual ElementFormulaEdgeJump<F>* hp2D::ElementFormulaEdgeJump< F >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 299 of file formula.hh.

◆ clone() [2/2]

virtual ElementFormula<F,typename Realtype<F>::type >* concepts::ElementFormula< F, typename Realtype<F>::type >::clone ( ) const
pure virtualinherited

Virtual copy constructor.

◆ info()

template<typename F >
virtual std::ostream& hp2D::ElementFormulaEdgeJump< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

template<typename F >
virtual F hp2D::ElementFormulaEdgeJump< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 287 of file formula.hh.

◆ operator()() [2/6]

template<typename F >
virtual F hp2D::ElementFormulaEdgeJump< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 292 of file formula.hh.

◆ operator()() [3/6]

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

◆ operator()() [4/6]

virtual F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< G > &  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 F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< G > &  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 F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< G > &  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

◆ f_

template<typename F >
std::unique_ptr<const concepts::ElementFunction<F> > hp2D::ElementFormulaEdgeJump< F >::f_
private

Element function.

Definition at line 310 of file formula.hh.

◆ spc_

template<typename F >
const hp2D::TraceSpace& hp2D::ElementFormulaEdgeJump< F >::spc_
private

Trace space.

Definition at line 306 of file formula.hh.

◆ v_

template<typename F >
const concepts::Vector<F>& hp2D::ElementFormulaEdgeJump< F >::v_
private

Coefficient vector.

Definition at line 308 of file formula.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