formula.hh
virtual ElementFormulaEdgeJump< F > * clone() const
Virtual copy constructor.
Definition: formula.hh:299
virtual ElementFormulaInterpGrad< F, 2 > * clone() const
Virtual copy constructor.
Definition: formula.hh:162
std::unique_ptr< const concepts::ElementFunction< F > > f_
Element function.
Definition: formula.hh:267
virtual ElementFormulaInterpGradN< F, 2 > * clone() const
Virtual copy constructor.
Definition: formula.hh:212
std::unique_ptr< const concepts::ElementFunction< F > > f_
Element function.
Definition: formula.hh:310
ElementFormulaEdgeMean(const hp2D::TraceSpace &spc, const concepts::Vector< F > &v, const concepts::ElementFunction< F > &f)
Element formula on 1D elements based on Edge2d returning the 1.0 if the normal vector is the right on...
Definition: formula.hh:320
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 Real p, const Real t=0.0) const
const concepts::Set< concepts::Attribute > attributes_
Attributes of the cells taken into account.
Definition: formula.hh:112
Element formula for a jump value on edges of elements of an other element formula.
Definition: formula.hh:279
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual ElementFormulaEdgeMean< F > * clone() const
Virtual copy constructor.
Definition: formula.hh:256
ElementFormulaInterpGradN(const concepts::ElementFormula< F > &f)
std::unique_ptr< const concepts::ElementFormula< F > > frm_
The formula on the edges.
Definition: formula.hh:108
Element formula for the gradient of an scalar element formula.
Definition: formula.hh:141
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
H1Extension(const concepts::ElementFormula< F > &frm, const concepts::Set< concepts::Attribute > attributes)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Element formula for the gradient of an scalar element formula.
Definition: formula.hh:193
virtual ElementFormulaSignNormalVector * clone() const
Virtual copy constructor.
Definition: formula.hh:336
H1Extension(const concepts::ElementFormula< F > &frm)
Constructor for extension from formula on edges.
virtual ~H1Extension()
Definition: formula.hh:49
bool compute_(const hp2D::Quad< Real > *quad, const Real2d &p, const Real t, F &val) const
virtual Real operator()(const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void clear_() const
Clear the temporary information (elmEdges_, cellEdges_).
ElementFormulaEdgeJump(const hp2D::TraceSpace &spc, const concepts::Vector< F > &v, const concepts::ElementFunction< F > &f)
Element formula for a mean value on edges of elements of an other element formula.
Definition: formula.hh:236
concepts::Array< concepts::ElementWithCell< Real > * > elmEdges_
The last used elements on the edges of elm_.
Definition: formula.hh:116
virtual F operator()(const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
concepts::Array< F > values_
Values of the element formula in the current quadrilateral.
Definition: formula.hh:177
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
concepts::Sequence< concepts::Edge2d * > cellEdges_
List of the generated cells on the edges.
Definition: formula.hh:118
ElementFormulaInterpGrad(const concepts::ElementFormula< F > &f)