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>


Public Types | |
| typedef F | value_type |
Public Member Functions | |
| virtual FormulaNormalOuterSP2D * | clone () const |
| Virtual copy constructor. | |
| virtual FormulaNormalOuterSP2D * | clone () 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. | |
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.
typedef F concepts::ElementFormula< F, typename Realtype<F>::type >::value_type [inherited] |
Definition at line 31 of file elementFormula.hh.
| 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.
| 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.
| 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.

| virtual FormulaNormalOuterSP2D* concepts::FormulaNormalOuterSP2D< F >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::ElementFormula< F >.
Definition at line 219 of file sources.hh.

| 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.
| 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.
| virtual F concepts::FormulaNormalOuterSP2D< F >::operator() | ( | const concepts::ElementWithCell< Real > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
| 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.
| 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.
| virtual F concepts::FormulaNormalOuterSP2D< F >::operator() | ( | const concepts::ElementWithCell< Real > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
| 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] |
| 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.
| elm | Element |
| p | Point in space in local element coordinates |
| t | Point in time |
| Real2d concepts::FormulaNormalOuterSP2D< F >::center |
Definition at line 259 of file pml_formula.h.
| bool concepts::FormulaNormalOuterSP2D< F >::direction |
Definition at line 260 of file pml_formula.h.
static const bool concepts::FormulaNormalOuterSP2D< F >::INNER = false [static] |
Definition at line 198 of file pml_formula.h.
static const bool concepts::FormulaNormalOuterSP2D< F >::OUTER = true [static] |
Definition at line 197 of file pml_formula.h.
| const ElementFormulaContainer< concepts::Point< F, 2 > > concepts::FormulaNormalOuterSP2D< F >::vf |
Definition at line 258 of file pml_formula.h.