integral.hh
Go to the documentation of this file.
137 for (typename Sequence<ElementWithCell<G> *>::iterator it = elm_seq.begin(); it != elm_seq.end(); ++it)
302 for (typename Sequence<ElementWithCell<G> * >::const_iterator it = elm_seq.begin(); it != elm_seq.end(); ++it)
Real integrate(const Element< G > &elm)
Returns the area of the cell belonging to the element elm.
Definition: integral.hh:43
Integration point consisting of coordinates and intermediate data.
Definition: integral.hh:34
CellEdgeIntegral(F &val, const concepts::Formula< F > &formula, const std::set< uint > *attributes=0)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
intFormType
Integration form, which determines terms coming from integration over reference element.
Definition: integral.hh:29
Real L2product(const ElementWithCell< G > &elm, const ElementFormula< F, G > &u, const ElementFormula< Real > *c=0, const Real t=0.0, IntegrationCell::intFormType form=IntegrationCell::ZERO)
Returns the L2 product or with c weighted L2 product of an element formula u over the cell belonging ...
Definition: integral.hh:214
const concepts::Real norm(const concepts::Real &v)
Returns the square of a real value.
Definition: operations.hh:90
CellIntegral(F &val, const Formula< F > &formula, const std::set< uint > *attributes=0)
Constructor.
virtual void operator()(const Element< Real > &elm)
Application operator.
#define DEBUGL(doit, msg)
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
F compute_(const G &elm)
An abstract class for scanning a mesh (a set of cells) or a space (a set of elements).
Definition: scannerConnectors.hh:29
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
F compute_(const G &elm)
CellFaceIntegral(F &val, const concepts::Formula< F > &formula, const std::set< uint > *attributes=0)
Constructor.
virtual const Cell & cell() const =0
Returns the cell on which the element is built.
virtual Scanner * scan() const =0
Returns a scanner to iterate over the elements of the space.
virtual void operator()(const Element< Real > &elm)
Application operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual bool quadraturePoint(uint i, intPoint &p, intFormType form=ZERO, bool localCoord=false) const =0
Delivers a quadrature point.