concepts::IntegrationCell Class Referenceabstract

Cell over which can be integrated. More...

#include <integral.hh>

Inheritance diagram for concepts::IntegrationCell:
hp1D::IntegrableElm hp2D::IntegrableQuad hp3D::Hexahedron vectorial::ElementWithCell< F > hp1D::BaseElement< Real > hp1D::BaseElement< F > hp2D::NTElement_BA< F > hp2D::NeumannTraceElement< F > hp1D::KarniadakisMixin< F > hp1D::LegendreMixin< F > hp1D::RysMixin< F >

Classes

struct  intPoint
 Integration point consisting of coordinates and intermediate data. More...
 

Public Types

enum  intFormType { ZERO, ONE, TWO, THREE }
 Integration form, which determines terms coming from integration over reference element. More...
 

Public Member Functions

 IntegrationCell ()
 Constructor. More...
 
virtual bool quadraturePoint (uint i, intPoint &p, intFormType form=ZERO, bool localCoord=false) const =0
 Delivers a quadrature point. More...
 
virtual ~IntegrationCell ()
 

Detailed Description

Cell over which can be integrated.

For that a single method exists, which delivers quadrature points, weights and a term from mapping. The method has to be implemented in the derived classes.

Author
Kersten Schmidt, 2005

Definition at line 24 of file integral.hh.

Member Enumeration Documentation

◆ intFormType

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

Enumerator
ZERO 
ONE 
TWO 
THREE 

Definition at line 29 of file integral.hh.

Constructor & Destructor Documentation

◆ IntegrationCell()

concepts::IntegrationCell::IntegrationCell ( )
inline

Constructor.

Definition at line 40 of file integral.hh.

◆ ~IntegrationCell()

virtual concepts::IntegrationCell::~IntegrationCell ( )
inlinevirtual

Definition at line 41 of file integral.hh.

Member Function Documentation

◆ quadraturePoint()

virtual bool concepts::IntegrationCell::quadraturePoint ( uint  i,
intPoint p,
intFormType  form = ZERO,
bool  localCoord = false 
) const
pure 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.

Implemented in hp2D::IntegrableQuad, hp1D::IntegrableElm, vectorial::ElementWithCell< F >, and hp3D::Hexahedron.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich