SOFA API  1e111313
Open source framework for multi-physics simuation
sofa::component::topology::NumericalIntegrationDescriptor< Real, N > Class Template Reference

#include <NumericalIntegrationDescriptor.h>

Cross product for 3-elements vectors. More...

Inheritance diagram for sofa::component::topology::NumericalIntegrationDescriptor< Real, N >:

Detailed Description

template<typename Real, int N>
class sofa::component::topology::NumericalIntegrationDescriptor< Real, N >

Cross product for 3-elements vectors.

Protected Attributes

std::map< QuadratureMethodKey, QuadraturePointArrayquadratureMap
 

Public Member Functions

 NumericalIntegrationDescriptor ()
 empty constructor More...
 
QuadraturePointArray getQuadratureMethod (const QuadratureMethod qt, const IntegrationOrder order) const
 returns the set of quadrature points associated with a given quadrature method and integration order More...
 
std::set< QuadratureMethodgetQuadratureMethods () const
 returns all the indices corresponding to all available quadrature methods More...
 
std::set< IntegrationOrdergetIntegrationOrders (const QuadratureMethod qt) const
 returns the quadrature integration orders available for a given method More...
 
void addQuadratureMethod (const QuadratureMethod qt, const IntegrationOrder order, QuadraturePointArray qpa)
 add a quadrature method in the map More...
 

Attribute details

template<typename Real, int N>
std::map<QuadratureMethodKey, QuadraturePointArray> sofa::component::topology::NumericalIntegrationDescriptor< Real, N >::quadratureMap
protected

Constructor details

empty constructor

Function details

template<typename Real , int N>
void sofa::component::topology::NumericalIntegrationDescriptor< Real, N >::addQuadratureMethod ( const QuadratureMethod  qt,
const IntegrationOrder  order,
QuadraturePointArray  qpa 
)

add a quadrature method in the map

template<typename Real , int N>
std::set< typename NumericalIntegrationDescriptor< Real, N >::IntegrationOrder > sofa::component::topology::NumericalIntegrationDescriptor< Real, N >::getIntegrationOrders ( const QuadratureMethod  qt) const

returns the quadrature integration orders available for a given method

template<typename Real , int N>
NumericalIntegrationDescriptor< Real, N >::QuadraturePointArray sofa::component::topology::NumericalIntegrationDescriptor< Real, N >::getQuadratureMethod ( const QuadratureMethod  qt,
const IntegrationOrder  order 
) const

returns the set of quadrature points associated with a given quadrature method and integration order

template<typename Real , int N>
std::set< typename NumericalIntegrationDescriptor< Real, N >::QuadratureMethod > sofa::component::topology::NumericalIntegrationDescriptor< Real, N >::getQuadratureMethods ( ) const

returns all the indices corresponding to all available quadrature methods

Enum details

Enumerator
GAUSS_LEGENDRE_METHOD 
GAUSS_LOBATO_METHOD 
NEWTON_COTES_METHOD 
GAUSS_SIMPLEX_METHOD 
GAUSS_QUAD_METHOD 
GAUSS_CUBE_METHOD