Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
concepts::DirichletElementFormula< F, G > Class Template Reference

Dirichlet Data as element formula. More...

#include <traces.hh>

Inheritance diagram for concepts::DirichletElementFormula< F, G >:
Inheritance graph
[legend]
Collaboration diagram for concepts::DirichletElementFormula< F, G >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F value_type

Public Member Functions

virtual
DirichletElementFormula< F, G > * 
clone () const
 Virtual copy constructor.
 DirichletElementFormula (const BoundaryConditions bc)
virtual F operator() (const ElementWithCell< G > &elm, const Real3d &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 Real p, const Real t=0.0) const
 Evaluates the formula.

Protected Member Functions

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

Private Member Functions

template<typename P >
compute_ (const Element< G > &elm, const P &p, const Real t) const
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

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 162 of file traces.hh.


Member Typedef Documentation

template<typename F, typename G = typename Realtype<F>::type>
typedef F concepts::ElementFormula< F, G >::value_type [inherited]

Constructor & Destructor Documentation

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

Definition at line 164 of file traces.hh.


Member Function Documentation

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

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 173 of file traces.hh.

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 [inline, private]

Definition at line 209 of file traces.hh.

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 [inline, private]

Definition at line 199 of file traces.hh.

Here is the call graph for this function:

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 [inline, private]

Definition at line 182 of file traces.hh.

Here is the call graph for this function:

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

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]
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]
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]

Evaluates the formula.

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

Implements concepts::ElementFormula< F, G >.


Member Data Documentation

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

Definition at line 179 of file traces.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)