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

Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
concepts::FormulaNormalOuterSP2D< F > Class Template Reference

Computes the scalar product <n, vf> of the normal n with a vector valued formula vf, the result is a scalar formula in F. More...

#include <pml_formula.h>

Inheritance diagram for concepts::FormulaNormalOuterSP2D< F >:
Inheritance graph
[legend]
Collaboration diagram for concepts::FormulaNormalOuterSP2D< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F value_type

Public Member Functions

virtual FormulaNormalOuterSP2Dclone () const
 Virtual copy constructor.
virtual FormulaNormalOuterSP2Dclone () const
 Virtual copy constructor.
 FormulaNormalOuterSP2D (const ElementFormulaContainer< concepts::Point< F, 2 > > vf, Real2d center=Real2d(0, 0), bool direction=OUTER)
 FormulaNormalOuterSP2D (const ElementFormulaContainer< concepts::Point< F, 2 > > vf, Real2d center=Real2d(0, 0), bool direction=OUTER)
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 concepts::Real2d &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 Real3d &p, const Real t=0.0) const =0
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const Real 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 concepts::Real2d &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.
virtual F operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const =0

Public Attributes

Real2d center
bool direction
const ElementFormulaContainer
< concepts::Point< F, 2 > > 
vf

Static Public Attributes

static const bool INNER = false
static const bool OUTER = true

Protected Member Functions

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

Detailed Description

template<class F>
class concepts::FormulaNormalOuterSP2D< F >

Computes the scalar product <n, vf> of the normal n with a vector valued formula vf, the result is a scalar formula in F.

The normal is interpreted as the undirected normal of an Edge in the direction away from the specified center point.

important: this function should only be called with Cells of type Edge2d

Due to a current limitation of concepts, normals are not well-defined. This class solves this reliably for edges on the boundary of the computational domain, for edges in the interior this function produces non-reliable normal orientations.

The normal is interpreted as the undirected normal of an Edge in the direction away from the specified center point.

important: this function should only be called with Cells of type Edge2d

Due to a current limitation of concepts, normals are not well-defined. This class solves this reliably for edges on the boundary of the computational domain, for edges in the interior this function produces non-reliable normal orientations.

This class is kept for gfem

Definition at line 194 of file pml_formula.h.


Member Typedef Documentation

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

Definition at line 31 of file elementFormula.hh.


Constructor & Destructor Documentation

template<class F >
concepts::FormulaNormalOuterSP2D< F >::FormulaNormalOuterSP2D ( const ElementFormulaContainer< concepts::Point< F, 2 > >  vf,
Real2d  center = Real2d(0,0),
bool  direction = OUTER 
) [inline]

Definition at line 200 of file pml_formula.h.

template<class F >
concepts::FormulaNormalOuterSP2D< F >::FormulaNormalOuterSP2D ( const ElementFormulaContainer< concepts::Point< F, 2 > >  vf,
Real2d  center = Real2d(0,0),
bool  direction = OUTER 
) [inline]

Definition at line 211 of file sources.hh.


Member Function Documentation

template<class F >
virtual FormulaNormalOuterSP2D* concepts::FormulaNormalOuterSP2D< F >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F >.

Definition at line 208 of file pml_formula.h.

Here is the call graph for this function:

template<class F >
virtual FormulaNormalOuterSP2D* concepts::FormulaNormalOuterSP2D< F >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F >.

Definition at line 219 of file sources.hh.

Here is the call graph for this function:

template<class F >
virtual std::ostream& concepts::FormulaNormalOuterSP2D< F >::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 254 of file pml_formula.h.

template<class F >
virtual std::ostream& concepts::FormulaNormalOuterSP2D< F >::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 265 of file sources.hh.

template<class F >
virtual F concepts::FormulaNormalOuterSP2D< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 212 of file pml_formula.h.

Here is the call graph for this function:

template<class F >
virtual F concepts::FormulaNormalOuterSP2D< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 259 of file sources.hh.

template<class F >
virtual F concepts::FormulaNormalOuterSP2D< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 253 of file sources.hh.

template<class F >
virtual F concepts::FormulaNormalOuterSP2D< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 223 of file sources.hh.

Here is the call graph for this function:

template<class F >
virtual F concepts::FormulaNormalOuterSP2D< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 242 of file pml_formula.h.

virtual F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< typename Realtype<F>::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const [pure virtual, inherited]
template<class F >
virtual F concepts::FormulaNormalOuterSP2D< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 248 of file pml_formula.h.

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

Evaluates the formula.

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

Member Data Documentation

Definition at line 259 of file pml_formula.h.

template<class F >
bool concepts::FormulaNormalOuterSP2D< F >::direction

Definition at line 260 of file pml_formula.h.

template<class F >
static const bool concepts::FormulaNormalOuterSP2D< F >::INNER = false [static]

Definition at line 198 of file pml_formula.h.

template<class F >
static const bool concepts::FormulaNormalOuterSP2D< F >::OUTER = true [static]

Definition at line 197 of file pml_formula.h.

Definition at line 258 of file pml_formula.h.


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

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