formula.hh
Helper class for Linearforms l(v), where v is i-form.
Definition: formula.hh:94
const concepts::ElementFormula< F > * formula() const
Definition: formula.hh:196
concepts::Array< F > intermediateValueHess_
calculated second tangential derivatives of the parametrisation
Definition: formula.hh:242
Helper class for bilinearforms a(u,v), where u is i-form and v is j-form.
Definition: formula.hh:184
BilinearFormVtxHelper(const concepts::ElementFormulaContainer< F > frm)
Constructor.
Definition: formula.hh:267
Definition: formula.hh:21
void compute(const BaseElement< Real > &elm, const concepts::ElementFormulaContainer< F > frm)
Evaluates the formula frm on all quadrature points of element elm.
BilinearFormHelper(const concepts::ElementFormulaContainer< F > frm)
Definition: formula.hh:192
virtual ~BilinearFormHelper()
virtual F operator()(const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const Real t=0.0) const
Definition: formula.hh:27
virtual ~LinearFormHelper()
const ElementFormula< F, G > & frm() const
Definition: elementFormulaContainer.hh:69
void computeIntermediate_(const BaseElement< Real > &elm) const
Compute the intermediate data for element matrix computation.
void computeIntermediate_(const Element< Real > &elm) const
Compute the intermediate data for element matrix computation.
BilinearFormHelper(const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
virtual F operator()(const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const Real t=0.0) const
Definition: formula.hh:31
const concepts::Array< F > getFrmVal(const hp1D::Element< Real > &elm) const
Returns the values of frm on {0,1}.
LinearFormHelper(const concepts::ElementFormulaContainer< F > frm)
ElementFormulaInterpGrad(const concepts::ElementFormulaContainer< F > frm)
virtual ~BilinearFormHelper()
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
const concepts::Array< Real > getTangentialSecondDerivative(const hp1D::Element< Real > &elm) const
Returns the second tangential derivative (s.t.d.) of the inverse Parametrisation on {0,...
BilinearFormHelper(const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
void computeIntermediate_(const Element< Real > &elm) const
Compute the intermediate data for element matrix computation.
Helper class for bilinearforms a(u,v), where a is a i-j Form that just works on the Vertices,...
Definition: formula.hh:264
concepts::Array< F > intermediateValueJac_
calculated inverse Jacobian determinant on the integration points
Definition: formula.hh:245
concepts::Array< F > intermediateValue_
Intermediate value (on each quadrature point)
Definition: formula.hh:130
concepts::Array< F > intermediateValue_
Intermediate value (on each quadrature point)
Definition: formula.hh:171
virtual ~LinearFormHelper()
const concepts::Array< Real > getInvJacobeanDet(const hp1D::Element< Real > &elm) const
Returns the inverse of the jacobean determinant (i.J.d.)
concepts::Array< F > values_
Values of the element formula in the current quadrilateral.
Definition: formula.hh:50
concepts::Array< F > intermediateValueFrm_
calculated values of the elementFormula on the integration poitnts
Definition: formula.hh:248
void computeIntermediate_(const Element< Real > &elm) const
Compute the intermediate data for element matrix computation.
LinearFormHelper(const concepts::ElementFormulaContainer< F > frm)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
const concepts::Array< Real > getInvJacobeanDetSq(const hp1D::Element< Real > &elm) const
Returns the inverse of the jacobean determinant squared (i.J.d.s.)
virtual F operator()(const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
virtual ElementFormulaInterpGrad< F > * clone() const
Virtual copy constructor.
Definition: formula.hh:37