concepts::DirichletElementFormula< F, G > Class Template Referenceabstract

Dirichlet Data as element formula. More...

#include <traces.hh>

Inheritance diagram for concepts::DirichletElementFormula< F, G >:
concepts::ElementFormula< F, typename Realtype< F >::type > concepts::Cloneable concepts::OutputOperator

Public Types

typedef F value_type
 

Public Member Functions

virtual DirichletElementFormula< F, G > * clone () const
 Virtual copy constructor. More...
 
virtual ElementFormula< F, typename Realtype< F >::type > * clone () const=0
 Virtual copy constructor. More...
 
 DirichletElementFormula (const BoundaryConditions bc)
 
virtual F operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
virtual F operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
virtual F operator() (const ElementWithCell< G > &elm, const Real3d &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 Member Functions

template<typename P >
bool compute_ (const Edge2d *cell, const Boundary b, const P &p, const Real t, F &val) const
 
bool compute_ (const Edge2d *cell, const Boundary b, const Real p, const Real t, F &val) const
 
template<typename P >
compute_ (const Element< G > &elm, const P &p, const Real t) const
 

Private Attributes

const BoundaryConditions bc_
 

Detailed Description

template<typename F, typename G = typename Realtype<F>::type>
class concepts::DirichletElementFormula< F, G >

Dirichlet Data as element formula.

One should use trace space like hp2D::TraceSpace to get elements on the boundary of the cells.

Author
Kersten Schmidt, 2007

Definition at line 179 of file traces.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

◆ DirichletElementFormula()

template<typename F , typename G = typename Realtype<F>::type>
concepts::DirichletElementFormula< F, G >::DirichletElementFormula ( const BoundaryConditions  bc)
inline

Definition at line 181 of file traces.hh.

Member Function Documentation

◆ clone() [1/2]

template<typename F , typename G = typename Realtype<F>::type>
virtual DirichletElementFormula<F,G>* concepts::DirichletElementFormula< F, G >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 190 of file traces.hh.

◆ clone() [2/2]

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

◆ compute_() [1/3]

template<typename F , typename G = typename Realtype<F>::type>
template<typename P >
bool concepts::DirichletElementFormula< F, G >::compute_ ( const Edge2d cell,
const Boundary  b,
const P &  p,
const Real  t,
F &  val 
) const
inlineprivate

Definition at line 226 of file traces.hh.

◆ compute_() [2/3]

template<typename F , typename G = typename Realtype<F>::type>
bool concepts::DirichletElementFormula< F, G >::compute_ ( const Edge2d cell,
const Boundary  b,
const Real  p,
const Real  t,
F &  val 
) const
inlineprivate

Definition at line 216 of file traces.hh.

◆ compute_() [3/3]

template<typename F , typename G = typename Realtype<F>::type>
template<typename P >
F concepts::DirichletElementFormula< F, G >::compute_ ( const Element< G > &  elm,
const P &  p,
const Real  t 
) const
inlineprivate

Definition at line 199 of file traces.hh.

◆ info()

template<typename F , typename G = typename Realtype<F>::type>
virtual std::ostream& concepts::DirichletElementFormula< F, G >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

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

◆ operator()() [2/6]

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

◆ operator()() [3/6]

template<typename F , typename G = typename Realtype<F>::type>
virtual F concepts::DirichletElementFormula< F, G >::operator() ( const ElementWithCell< G > &  elm,
const Real3d 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

Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.

◆ 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

Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.

◆ 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

Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.

Member Data Documentation

◆ bc_

template<typename F , typename G = typename Realtype<F>::type>
const BoundaryConditions concepts::DirichletElementFormula< F, G >::bc_
private

Definition at line 196 of file traces.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