#include <pml_formula.h>
Public Types | |
typedef F | value_type |
Public Member Functions | |
FormulaNormalOuterSP2D (const ElementFormulaContainer< concepts::Point< F, 2 > > vf, Real2d center=Real2d(0, 0), bool direction=OUTER) | |
virtual FormulaNormalOuterSP2D * | clone () const |
Virtual copy constructor. | |
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::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 |
FormulaNormalOuterSP2D (const ElementFormulaContainer< Point< F, 2 > > vf, Real2d center=Real2d(0, 0), bool direction=OUTER) | |
virtual FormulaNormalOuterSP2D * | clone () const |
Virtual copy constructor. | |
virtual F | operator() (const ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< Real > &elm, const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< Real > &elm, const Real3d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const =0 |
virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const =0 |
virtual F | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const =0 |
Public Attributes | |
const ElementFormulaContainer< concepts::Point< F, 2 > > | vf |
Real2d | center |
bool | direction |
const ElementFormulaContainer< Point< F, 2 > > | vf |
Static Public Attributes | |
static const bool | OUTER = true |
static const bool | INNER = false |
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.
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.
This class is kept for gfem
Definition at line 194 of file pml_formula.h.
|
inherited |
Definition at line 37 of file elementFormula.hh.
|
inline |
Definition at line 200 of file pml_formula.h.
|
inline |
Definition at line 229 of file sources.hh.
|
inlinevirtual |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
Definition at line 208 of file pml_formula.h.
|
inlinevirtual |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
Definition at line 237 of file sources.hh.
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 254 of file pml_formula.h.
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 283 of file sources.hh.
|
inlinevirtual |
Definition at line 242 of file pml_formula.h.
|
inlinevirtual |
Definition at line 248 of file pml_formula.h.
|
inlinevirtual |
Definition at line 212 of file pml_formula.h.
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::ElementFormulaContainer< concepts::Point< F, 2 >, G >, concepts::FrmE_Component< F, G, H >, concepts::FrmE_Component_Matrix< F, G, H >, concepts::FrmE_Conjugate< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_PointToMapping< dim, F, G >, concepts::FrmE_PointsToMapping< 2, F, G >, concepts::FrmE_Trace< dim, F, G >, concepts::FrmE_Product< F, H, J, G >, concepts::FrmE_Sum< F, H, J, G >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorElementFormulaBase< F, dim, G >, concepts::VectorElementFormulaBase< F, 2, G >, concepts::VectorElementFormulaBase< F, 3, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, and concepts::ComposeFormulaVecEntry< F, DIM, G >.
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::ElementFormulaContainer< concepts::Point< F, 2 >, G >, concepts::FrmE_Component< F, G, H >, concepts::FrmE_Component_Matrix< F, G, H >, concepts::FrmE_Conjugate< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_PointToMapping< dim, F, G >, concepts::FrmE_PointsToMapping< 2, F, G >, concepts::FrmE_Trace< dim, F, G >, concepts::FrmE_Product< F, H, J, G >, concepts::FrmE_Sum< F, H, J, G >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorElementFormulaBase< F, dim, G >, concepts::VectorElementFormulaBase< F, 2, G >, concepts::VectorElementFormulaBase< F, 3, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, and concepts::ComposeFormulaVecEntry< F, DIM, G >.
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::ElementFormulaContainer< concepts::Point< F, 2 >, G >, concepts::FrmE_Component< F, G, H >, concepts::FrmE_Component_Matrix< F, G, H >, concepts::FrmE_Conjugate< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_PointToMapping< dim, F, G >, concepts::FrmE_PointsToMapping< 2, F, G >, concepts::FrmE_Trace< dim, F, G >, concepts::FrmE_Product< F, H, J, G >, concepts::FrmE_Sum< F, H, J, G >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorElementFormulaBase< F, dim, G >, concepts::VectorElementFormulaBase< F, 2, G >, concepts::VectorElementFormulaBase< F, 3, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, and concepts::ComposeFormulaVecEntry< F, DIM, G >.
|
inlinevirtual |
Definition at line 241 of file sources.hh.
|
inlinevirtual |
Definition at line 271 of file sources.hh.
|
inlinevirtual |
Definition at line 277 of file sources.hh.
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 |
Definition at line 198 of file pml_formula.h.
|
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.
const ElementFormulaContainer< Point<F, 2> > concepts::FormulaNormalOuterSP2D< F >::vf |
Definition at line 287 of file sources.hh.