Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
hp1D::IntegrableElm Class Reference

Class holding the quadrature rule and the cell of a 1D element. More...

#include <element.hh>

Inheritance diagram for hp1D::IntegrableElm:
Inheritance graph
[legend]
Collaboration diagram for hp1D::IntegrableElm:
Collaboration graph
[legend]

List of all members.

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::QuadratureRuleintegration () 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::QuadRuleFactoryrule ()
 Access to the quadrature rule, which is valid for all elements of this type (hp1D::IntegrableElm).

Protected Attributes

const concepts::EdgeNdcell_
 The cell.
std::auto_ptr
< concepts::QuadratureRule
int_
 The integration rule.

Static Protected Attributes

static concepts::QuadRuleFactory rule_

Detailed Description

Class holding the quadrature rule and the cell of a 1D element.

Definition at line 26 of file element.hh.


Member Enumeration Documentation

Integration form, which determines terms coming from integration over reference element.

Enumerator:
ZERO 
ONE 
TWO 
THREE 

Definition at line 27 of file integral.hh.


Constructor & Destructor Documentation

hp1D::IntegrableElm::IntegrableElm ( const concepts::EdgeNd cell)

Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Parameters:
inumber of quadrature point
intPointdata given back
formIntegration form
localCoordIf 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.


Member Data Documentation

The cell.

Reimplemented in hp2D::NeumannTraceElement< F >.

Definition at line 59 of file element.hh.

The integration rule.

Definition at line 61 of file element.hh.

Definition at line 63 of file element.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)