Class holding the quadrature rule and the cell of a 1D element. More...
#include <element.hh>


Public Types | |
| enum | intFormType { ZERO, ONE, TWO, THREE } |
| Integration form, which determines terms coming from integration over reference element. More... | |
Public Member Functions | |
| const concepts::Real3d | chi (const Real x) const |
| Computes the element map. | |
| IntegrableElm (const concepts::EdgeNd &cell) | |
| const concepts::QuadratureRule * | integration () const |
| Returns the integration rule. | |
| Real | jacobianDeterminant (const Real x) const |
| Computes the determinant of the Jacobian. | |
| virtual bool | quadraturePoint (uint i, intPoint &p, intFormType form=ZERO, bool localCoord=false) const |
| Delivers a quadrature point. | |
Static Public Member Functions | |
| static concepts::QuadRuleFactory & | rule () |
| Access to the quadrature rule, which is valid for all elements of this type (hp1D::IntegrableElm). | |
Protected Attributes | |
| const concepts::EdgeNd & | cell_ |
| The cell. | |
| std::auto_ptr < concepts::QuadratureRule > | int_ |
| The integration rule. | |
Static Protected Attributes | |
| static concepts::QuadRuleFactory | rule_ |
Class holding the quadrature rule and the cell of a 1D element.
Definition at line 26 of file element.hh.
enum concepts::IntegrationCell::intFormType [inherited] |
Integration form, which determines terms coming from integration over reference element.
Definition at line 27 of file integral.hh.
| hp1D::IntegrableElm::IntegrableElm | ( | const concepts::EdgeNd & | cell | ) |
| const concepts::Real3d hp1D::IntegrableElm::chi | ( | const Real | x | ) | const [inline] |
Computes the element map.
The reference element is [0,1].
Definition at line 32 of file element.hh.

| const concepts::QuadratureRule* hp1D::IntegrableElm::integration | ( | ) | const [inline] |
Returns the integration rule.
Definition at line 41 of file element.hh.
| Real hp1D::IntegrableElm::jacobianDeterminant | ( | const Real | x | ) | const [inline] |
Computes the determinant of the Jacobian.
Definition at line 35 of file element.hh.

| virtual bool hp1D::IntegrableElm::quadraturePoint | ( | uint | i, |
| intPoint & | p, | ||
| intFormType | form = ZERO, |
||
| bool | localCoord = false |
||
| ) | const [virtual] |
Delivers a quadrature point.
Quadrature point consists of coordinates (for evaluation of formulas) and intermediate data, consisting of the weight and term coming from mapping.
Returns false, if the number of quadrature points is overstepped.
| i | number of quadrature point |
| intPoint | data given back |
| form | Integration form |
| localCoord | If true, local coordinates are returned. Else physical coordinates. |
Implements concepts::IntegrationCell.
| static concepts::QuadRuleFactory& hp1D::IntegrableElm::rule | ( | ) | [inline, static] |
Access to the quadrature rule, which is valid for all elements of this type (hp1D::IntegrableElm).
Change of the quadrature rule is put into practice for newly created elements and for already created elements by precomputing the integration points and shape functions on them.
Definition at line 52 of file element.hh.
const concepts::EdgeNd& hp1D::IntegrableElm::cell_ [protected] |
The cell.
Reimplemented in hp2D::NeumannTraceElement< F >.
Definition at line 59 of file element.hh.
std::auto_ptr<concepts::QuadratureRule> hp1D::IntegrableElm::int_ [protected] |
The integration rule.
Definition at line 61 of file element.hh.
concepts::QuadRuleFactory hp1D::IntegrableElm::rule_ [static, protected] |
Definition at line 63 of file element.hh.