Dirichlet Data as element formula. More...
#include <traces.hh>


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 > | |
| F | 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_ |
Dirichlet Data as element formula.
One should use trace space like hp2D::TraceSpace to get elements on the boundary of the cells.
typedef F concepts::ElementFormula< F, G >::value_type [inherited] |
Reimplemented in concepts::Formula< F >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorFormula< F, dim >, concepts::Formula< concepts::Point< Cmplx, 2 > >, concepts::Formula< Point< F, dim > >, concepts::Formula< Cmplx >, concepts::Formula< Real >, and concepts::Formula< Real2d >.
Definition at line 31 of file elementFormula.hh.
| concepts::DirichletElementFormula< F, G >::DirichletElementFormula | ( | const BoundaryConditions | bc | ) | [inline] |
| virtual DirichletElementFormula<F,G>* concepts::DirichletElementFormula< F, G >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
| bool concepts::DirichletElementFormula< F, G >::compute_ | ( | const Edge2d * | cell, |
| const Boundary | b, | ||
| const P & | p, | ||
| const Real | t, | ||
| F & | val | ||
| ) | const [inline, private] |
| bool concepts::DirichletElementFormula< F, G >::compute_ | ( | const Edge2d * | cell, |
| const Boundary | b, | ||
| const Real | p, | ||
| const Real | t, | ||
| F & | val | ||
| ) | const [inline, private] |
| F concepts::DirichletElementFormula< F, G >::compute_ | ( | const Element< G > & | elm, |
| const P & | p, | ||
| const Real | t | ||
| ) | const [inline, private] |
| virtual std::ostream& concepts::DirichletElementFormula< F, G >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| virtual F concepts::DirichletElementFormula< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Implements concepts::ElementFormula< F, G >.
| virtual F concepts::DirichletElementFormula< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Implements concepts::ElementFormula< F, G >.
| virtual F concepts::DirichletElementFormula< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Evaluates the formula.
Implements concepts::ElementFormula< F, G >.
const BoundaryConditions concepts::DirichletElementFormula< F, G >::bc_ [private] |