KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Static Public Member Functions | List of all members
Kratos::IntegrationUtilities Class Reference

Utilities to integrate in different cases. More...

#include <integration_utilities.h>

Collaboration diagram for Kratos::IntegrationUtilities:

Static Public Member Functions

template<class TPointType >
static GeometryData::IntegrationMethod GetIntegrationMethodForExactMassMatrixEvaluation (const Geometry< TPointType > &rGeometry)
 This method returns the integration order for the exact mass matrix evaluation. More...
 
template<class TGeometryType >
static double ComputeDomainSize (const TGeometryType &rGeometry)
 This method calculates and returns the domain size of the geometry from any geometry in a generic manner. More...
 
template<class TPointType >
static double ComputeDomainSize (const Geometry< TPointType > &rGeometry, const typename Geometry< TPointType >::IntegrationMethod IntegrationMethod)
 This method calculates and returns the domain size of the geometry from any geometry in a generic manner. More...
 
template<class TPointType >
static double ComputeArea2DGeometry (const Geometry< TPointType > &rGeometry)
 This method calculates and returns the volume of the geometry from a 3D geometry. More...
 
template<class TPointType >
static double ComputeArea2DGeometryDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< TPointType > &rGeometry)
 This method calculates derivative of the area for a 2D geometry. More...
 
template<class TPointType >
static double ComputeVolume3DGeometry (const Geometry< TPointType > &rGeometry)
 This method calculates and returns the volume of the geometry from a 3D geometry. More...
 
template<class TPointType >
static double ComputeVolume3DGeometryDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< TPointType > &rGeometry)
 This method calculates derivative of the volume for a 3D geometry. More...
 

Detailed Description

Utilities to integrate in different cases.

Author
Vicente Mataix Ferrandiz

Member Function Documentation

◆ ComputeArea2DGeometry()

template<class TPointType >
static double Kratos::IntegrationUtilities::ComputeArea2DGeometry ( const Geometry< TPointType > &  rGeometry)
inlinestatic

This method calculates and returns the volume of the geometry from a 3D geometry.

Parameters
rGeometryThe geometry considered
Template Parameters
TPointTypeThe Point type
Returns
double value contains volume.

◆ ComputeArea2DGeometryDerivative()

template<class TPointType >
static double Kratos::IntegrationUtilities::ComputeArea2DGeometryDerivative ( const unsigned int  DerivativeNodeIndex,
const unsigned int  DerivativeDirectionIndex,
const Geometry< TPointType > &  rGeometry 
)
inlinestatic

This method calculates derivative of the area for a 2D geometry.

Template Parameters
TPointTypePoint type.
Parameters
DerivativeNodeIndexThe node index for which the derivative is computed for.
DerivativeDirectionIndexThe direction index of the node for which the derivative is computed for.
rGeometryThe geometry considered.
Returns
double Area derivative.

◆ ComputeDomainSize() [1/2]

template<class TPointType >
static double Kratos::IntegrationUtilities::ComputeDomainSize ( const Geometry< TPointType > &  rGeometry,
const typename Geometry< TPointType >::IntegrationMethod  IntegrationMethod 
)
inlinestatic

This method calculates and returns the domain size of the geometry from any geometry in a generic manner.

Parameters
rGeometryThe geometry considered
IntegrationMethodThe integration method considered
Template Parameters
TPointTypeThe Point type
Returns
double value contains volume.

◆ ComputeDomainSize() [2/2]

template<class TGeometryType >
static double Kratos::IntegrationUtilities::ComputeDomainSize ( const TGeometryType &  rGeometry)
inlinestatic

This method calculates and returns the domain size of the geometry from any geometry in a generic manner.

Parameters
rGeometryThe geometry considered
Template Parameters
TGeometryTypeThe geometry type
Returns
double value contains volume.

◆ ComputeVolume3DGeometry()

template<class TPointType >
static double Kratos::IntegrationUtilities::ComputeVolume3DGeometry ( const Geometry< TPointType > &  rGeometry)
inlinestatic

This method calculates and returns the volume of the geometry from a 3D geometry.

Parameters
rGeometryThe geometry considered
Template Parameters
TPointTypeThe Point type
Returns
double value contains volume.

◆ ComputeVolume3DGeometryDerivative()

template<class TPointType >
static double Kratos::IntegrationUtilities::ComputeVolume3DGeometryDerivative ( const unsigned int  DerivativeNodeIndex,
const unsigned int  DerivativeDirectionIndex,
const Geometry< TPointType > &  rGeometry 
)
inlinestatic

This method calculates derivative of the volume for a 3D geometry.

Template Parameters
TPointTypePoint type.
Parameters
DerivativeNodeIndexThe node index for which the derivative is computed for.
DerivativeDirectionIndexThe direction index of the node for which the derivative is computed for.
rGeometryThe geometry considered.
Returns
double Volume derivative.

◆ GetIntegrationMethodForExactMassMatrixEvaluation()

template<class TPointType >
static GeometryData::IntegrationMethod Kratos::IntegrationUtilities::GetIntegrationMethodForExactMassMatrixEvaluation ( const Geometry< TPointType > &  rGeometry)
inlinestatic

This method returns the integration order for the exact mass matrix evaluation.

Parameters
rGeometryThe geometry considered
Template Parameters
TPointTypeThe Point type
Returns
The integration order

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