NuTo
Numerics Tool
Public Member Functions | Static Public Attributes | List of all members
NuTo::IntegrationTypeTriangle Class Reference

Integration types for the triangle. More...

#include <IntegrationTypeTriangle.h>

Inheritance diagram for NuTo::IntegrationTypeTriangle:
NuTo::IntegrationTypeBase

Public Member Functions

 IntegrationTypeTriangle (int order)
 constructor More...
 
Eigen::VectorXd GetLocalIntegrationPointCoordinates (int i) const override
 returns the local coordinates of an integration point More...
 
int GetNumIntegrationPoints () const override
 returns the total number of integration points for this integration type More...
 
double GetIntegrationPointWeight (int i) const override
 returns the weight of an integration point More...
 
const ShapeGetShape () const override
 Determines the shape of the integration type. More...
 
- Public Member Functions inherited from NuTo::IntegrationTypeBase
 IntegrationTypeBase ()=default
 
 IntegrationTypeBase (const IntegrationTypeBase &)=default
 
 IntegrationTypeBase (IntegrationTypeBase &&)=default
 
IntegrationTypeBaseoperator= (const IntegrationTypeBase &)=default
 
IntegrationTypeBaseoperator= (IntegrationTypeBase &&)=default
 
virtual ~IntegrationTypeBase ()=default
 destructor More...
 

Static Public Attributes

static const std::vector< std::vector< Eigen::Vector3d > > quadratureData
 data is taken from the attachment to the book "P. More...
 

Detailed Description

Integration types for the triangle.

Constructor & Destructor Documentation

NuTo::IntegrationTypeTriangle::IntegrationTypeTriangle ( int  order)

constructor

Parameters
orderintegration order

Member Function Documentation

double NuTo::IntegrationTypeTriangle::GetIntegrationPointWeight ( int  i) const
overridevirtual

returns the weight of an integration point

Parameters
iintegration point (counting from zero)
Returns
weight of integration points

Implements NuTo::IntegrationTypeBase.

Eigen::VectorXd NuTo::IntegrationTypeTriangle::GetLocalIntegrationPointCoordinates ( int  i) const
overridevirtual

returns the local coordinates of an integration point

Parameters
iintegration point (counting from zero)
Returns
rCoordinates (result)

Implements NuTo::IntegrationTypeBase.

int NuTo::IntegrationTypeTriangle::GetNumIntegrationPoints ( ) const
overridevirtual

returns the total number of integration points for this integration type

Returns
number of integration points

Implements NuTo::IntegrationTypeBase.

const Shape& NuTo::IntegrationTypeTriangle::GetShape ( ) const
inlineoverridevirtual

Determines the shape of the integration type.

Returns
shape of the integration type

Implements NuTo::IntegrationTypeBase.

Member Data Documentation

const std::vector< std::vector< Eigen::Vector3d > > NuTo::IntegrationTypeTriangle::quadratureData
static

data is taken from the attachment to the book "P.

Solin, K. Segeth and I. Dolezel: Higher-Order Finite Element Methods", Chapman & Hall/CRC Press, 2003.

They use another reference cell (running from -1 to 1) so the points and weights are changed accordingly


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