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.
List of all members
Kratos::GeometryData Class Reference

#include <geometry_data.h>

Collaboration diagram for Kratos::GeometryData:

Public Types

Enum's
enum class  IntegrationMethod {
  GI_GAUSS_1 , GI_GAUSS_2 , GI_GAUSS_3 , GI_GAUSS_4 ,
  GI_GAUSS_5 , GI_EXTENDED_GAUSS_1 , GI_EXTENDED_GAUSS_2 , GI_EXTENDED_GAUSS_3 ,
  GI_EXTENDED_GAUSS_4 , GI_EXTENDED_GAUSS_5 , NumberOfIntegrationMethods
}
 
enum class  KratosGeometryFamily {
  Kratos_NoElement , Kratos_Point , Kratos_Linear , Kratos_Triangle ,
  Kratos_Quadrilateral , Kratos_Tetrahedra , Kratos_Hexahedra , Kratos_Prism ,
  Kratos_Pyramid , Kratos_Nurbs , Kratos_Brep , Kratos_Quadrature_Geometry ,
  Kratos_Composite , Kratos_generic_family , NumberOfGeometryFamilies
}
 
enum class  KratosGeometryType {
  Kratos_generic_type , Kratos_Hexahedra3D20 , Kratos_Hexahedra3D27 , Kratos_Hexahedra3D8 ,
  Kratos_Prism3D15 , Kratos_Prism3D6 , Kratos_Pyramid3D13 , Kratos_Pyramid3D5 ,
  Kratos_Quadrilateral2D4 , Kratos_Quadrilateral2D8 , Kratos_Quadrilateral2D9 , Kratos_Quadrilateral3D4 ,
  Kratos_Quadrilateral3D8 , Kratos_Quadrilateral3D9 , Kratos_Tetrahedra3D10 , Kratos_Tetrahedra3D4 ,
  Kratos_Triangle2D3 , Kratos_Triangle2D6 , Kratos_Triangle2D10 , Kratos_Triangle2D15 ,
  Kratos_Triangle3D3 , Kratos_Triangle3D6 , Kratos_Line2D2 , Kratos_Line2D3 ,
  Kratos_Line2D4 , Kratos_Line2D5 , Kratos_Line3D2 , Kratos_Line3D3 ,
  Kratos_Point2D , Kratos_Point3D , Kratos_Sphere3D1 , Kratos_Nurbs_Curve ,
  Kratos_Nurbs_Surface , Kratos_Nurbs_Volume , Kratos_Nurbs_Curve_On_Surface , Kratos_Surface_In_Nurbs_Volume ,
  Kratos_Brep_Curve , Kratos_Brep_Surface , Kratos_Brep_Curve_On_Surface , Kratos_Quadrature_Point_Geometry ,
  Kratos_Coupling_Geometry , Kratos_Quadrature_Point_Curve_On_Surface_Geometry , Kratos_Quadrature_Point_Surface_In_Volume_Geometry , NumberOfGeometryTypes
}
 

Public Member Functions

Life Cycle
 GeometryData (GeometryDimension const *pThisGeometryDimension, IntegrationMethod ThisDefaultMethod, const IntegrationPointsContainerType &ThisIntegrationPoints, const ShapeFunctionsValuesContainerType &ThisShapeFunctionsValues, const ShapeFunctionsLocalGradientsContainerType &ThisShapeFunctionsLocalGradients)
 
 GeometryData (GeometryDimension const *pThisGeometryDimension, const GeometryShapeFunctionContainer< IntegrationMethod > &ThisGeometryShapeFunctionContainer)
 
 GeometryData (const GeometryData &rOther)
 Copy constructor. More...
 
virtual ~GeometryData ()
 Destructor. More...
 
Operators
GeometryDataoperator= (const GeometryData &rOther)
 Assignment operator. More...
 
GeometryDimension
void SetGeometryDimension (GeometryDimension const *pGeometryDimension)
 
Geometry Shape Function Container
void SetGeometryShapeFunctionContainer (const GeometryShapeFunctionContainer< IntegrationMethod > &rGeometryShapeFunctionContainer)
 SetGeometryShapeFunctionContainer updates the GeometryShapeFunctionContainer. More...
 
const GeometryShapeFunctionContainer< IntegrationMethod > & GetGeometryShapeFunctionContainer () const
 Returns the GeometryShapeFunctionContainer. More...
 
Informations
SizeType WorkingSpaceDimension () const
 
SizeType LocalSpaceDimension () const
 
Inquiry
bool HasIntegrationMethod (IntegrationMethod ThisMethod) const
 
Integration
IntegrationMethod DefaultIntegrationMethod () const
 
SizeType IntegrationPointsNumber () const
 
SizeType IntegrationPointsNumber (IntegrationMethod ThisMethod) const
 
const IntegrationPointsArrayTypeIntegrationPoints () const
 
const IntegrationPointsArrayTypeIntegrationPoints (IntegrationMethod ThisMethod) const
 
Shape Function
const MatrixShapeFunctionsValues () const
 
const MatrixShapeFunctionsValues (IntegrationMethod ThisMethod) const
 
double ShapeFunctionValue (IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex) const
 
double ShapeFunctionValue (IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
 
const ShapeFunctionsGradientsTypeShapeFunctionsLocalGradients () const
 
const ShapeFunctionsGradientsTypeShapeFunctionsLocalGradients (IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionLocalGradient (IndexType IntegrationPointIndex) const
 
const MatrixShapeFunctionLocalGradient (IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionLocalGradient (IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionDerivatives (IndexType DerivativeOrderIndex, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

typedef std::size_t IndexType
 
typedef std::size_t SizeType
 
typedef IntegrationPoint< 3 > IntegrationPointType
 
typedef GeometryShapeFunctionContainer< IntegrationMethod >::IntegrationPointsArrayType IntegrationPointsArrayType
 
typedef GeometryShapeFunctionContainer< IntegrationMethod >::IntegrationPointsContainerType IntegrationPointsContainerType
 
typedef GeometryShapeFunctionContainer< IntegrationMethod >::ShapeFunctionsValuesContainerType ShapeFunctionsValuesContainerType
 
typedef GeometryShapeFunctionContainer< IntegrationMethod >::ShapeFunctionsLocalGradientsContainerType ShapeFunctionsLocalGradientsContainerType
 
typedef DenseVector< MatrixShapeFunctionsGradientsType
 
typedef DenseVector< MatrixShapeFunctionsSecondDerivativesType
 
typedef DenseVector< DenseVector< Matrix > > ShapeFunctionsThirdDerivativesType
 
 KRATOS_CLASS_POINTER_DEFINITION (GeometryData)
 Pointer definition of GeometryData. More...
 

Serialization

class Serializer
 

Detailed Description

GeometryData base class.As a base class GeometryData has all the common interface of Kratos' geometries. Also it contains array of pointers to its points, reference to shape functions values in all integrations points and also local gradients of shape functions evaluated in all integrations points.

See also
Geometry
Element

Member Typedef Documentation

◆ IndexType

typedef std::size_t Kratos::GeometryData::IndexType

Type used for indexing in geometry data class. Unsigned int used for indexing point or integration point access methods and also all other methods which need point or integration point index.

◆ IntegrationPointsArrayType

A Vector of IntegrationPointType which used to hold integration points related to an integration method. IntegrationPoints functions used this type to return their results.

◆ IntegrationPointsContainerType

A Vector of IntegrationPointsArrayType which used to hold integration points related to different integration method implemented in geometry.

◆ IntegrationPointType

This type used for representing an integration point in geometry data. This integration point is a point with an additional weight component.

◆ ShapeFunctionsGradientsType

A third order tensor to hold shape functions' gradients. ShapefunctionsLocalGradients function return this type as its result.

◆ ShapeFunctionsLocalGradientsContainerType

A fourth order tensor used as shape functions' local gradients container in geometry data.

◆ ShapeFunctionsSecondDerivativesType

◆ ShapeFunctionsThirdDerivativesType

fourth order tensor to hold the third order derivatives of the shape functions

◆ ShapeFunctionsValuesContainerType

A third order tensor used as shape functions' values continer.

◆ SizeType

typedef std::size_t Kratos::GeometryData::SizeType

This typed used to return size or dimension in geometry data. Dimension, WorkingSpaceDimension, PointsNumber and ... return this type as their results.

Member Enumeration Documentation

◆ IntegrationMethod

Integration methods implemented in geometry. Each geometry supposed to have different integration method for integrating. These enums are used to refere to each different integration methods:

  • GI_GAUSS_1 gaussian integration with order 1.
  • GI_GAUSS_2 gaussian integration with order 2.
  • GI_GAUSS_3 gaussian integration with order 3.
  • GI_GAUSS_4 gaussian integration with order 4.
  • GI_GAUSS_5 gaussian integration with order 5.
Enumerator
GI_GAUSS_1 
GI_GAUSS_2 
GI_GAUSS_3 
GI_GAUSS_4 
GI_GAUSS_5 
GI_EXTENDED_GAUSS_1 
GI_EXTENDED_GAUSS_2 
GI_EXTENDED_GAUSS_3 
GI_EXTENDED_GAUSS_4 
GI_EXTENDED_GAUSS_5 
NumberOfIntegrationMethods 

◆ KratosGeometryFamily

Enumerator
Kratos_NoElement 
Kratos_Point 
Kratos_Linear 
Kratos_Triangle 
Kratos_Quadrilateral 
Kratos_Tetrahedra 
Kratos_Hexahedra 
Kratos_Prism 
Kratos_Pyramid 
Kratos_Nurbs 
Kratos_Brep 
Kratos_Quadrature_Geometry 
Kratos_Composite 
Kratos_generic_family 
NumberOfGeometryFamilies 

◆ KratosGeometryType

Enumerator
Kratos_generic_type 
Kratos_Hexahedra3D20 
Kratos_Hexahedra3D27 
Kratos_Hexahedra3D8 
Kratos_Prism3D15 
Kratos_Prism3D6 
Kratos_Pyramid3D13 
Kratos_Pyramid3D5 
Kratos_Quadrilateral2D4 
Kratos_Quadrilateral2D8 
Kratos_Quadrilateral2D9 
Kratos_Quadrilateral3D4 
Kratos_Quadrilateral3D8 
Kratos_Quadrilateral3D9 
Kratos_Tetrahedra3D10 
Kratos_Tetrahedra3D4 
Kratos_Triangle2D3 
Kratos_Triangle2D6 
Kratos_Triangle2D10 
Kratos_Triangle2D15 
Kratos_Triangle3D3 
Kratos_Triangle3D6 
Kratos_Line2D2 
Kratos_Line2D3 
Kratos_Line2D4 
Kratos_Line2D5 
Kratos_Line3D2 
Kratos_Line3D3 
Kratos_Point2D 
Kratos_Point3D 
Kratos_Sphere3D1 
Kratos_Nurbs_Curve 
Kratos_Nurbs_Surface 
Kratos_Nurbs_Volume 
Kratos_Nurbs_Curve_On_Surface 
Kratos_Surface_In_Nurbs_Volume 
Kratos_Brep_Curve 
Kratos_Brep_Surface 
Kratos_Brep_Curve_On_Surface 
Kratos_Quadrature_Point_Geometry 
Kratos_Coupling_Geometry 
Kratos_Quadrature_Point_Curve_On_Surface_Geometry 
Kratos_Quadrature_Point_Surface_In_Volume_Geometry 
NumberOfGeometryTypes 

Constructor & Destructor Documentation

◆ GeometryData() [1/3]

Kratos::GeometryData::GeometryData ( GeometryDimension const *  pThisGeometryDimension,
IntegrationMethod  ThisDefaultMethod,
const IntegrationPointsContainerType ThisIntegrationPoints,
const ShapeFunctionsValuesContainerType ThisShapeFunctionsValues,
const ShapeFunctionsLocalGradientsContainerType ThisShapeFunctionsLocalGradients 
)
inline

Complete argument constructor. This constructor gives a complete set of arguments to pass all the initial value of all the member variables of geometry class. Also it has default value for integration variables to make it usefull in the case of constructing new geometry without mapping and integrating properties.

Parameters
ThisDimensionDimension of this geometry.
ThisWorkingSpaceDimensionWorking space dimension. for example a triangle 3d is a 2 dimensional shape but can be used in 3 dimensional space.
ThisLocalSpaceDimensionLocal space dimension. for example a triangle is a 2 dimensional shape but can have 3 dimensional area coordinates l1, l2, l3.
ThisDefaultMethodDefault integration method. Its default value is gaussian integration with orden one which make no deference while in this condition there is no shape function database exist and integrating is not possible including by default method.
ThisIntegrationPointsAll the integration points in all methods. This is a Vector of IntegrationPointsArrayType and It must have at least four component correspounding to four integration method defined now. If there is some geometry which don't have all this method implemented related points Vector must exist but with zero size. For example if a geometry don't have gaussian orden one ThisIntegrationPoints[GI_GAUSS_1] must be an empty IntegrationPointsArrayType.
ThisShapeFunctionsValuesValues of all the shape functions evaluated in all integrations points of all integration methods. It's a three dimensional array \( F_{ijk} \) where i = GI_GAUSS_1,..., GI_GAUSS_4 and j is the integration point index and k is the shape function index. In the other word component \( f_{ijk} \) is the value of the shape function related to node k evaluated in integration point j of i integration method point set. Again if there is some integration method unsupported an empty Matrix must assigned to related place. For example if a geometry don't have gaussian orden four ThisShapeFunctionsValues[GI_GAUSS_4] must be an empty Matrix.
ThisShapeFunctionsLocalGradientsValues of local gradients respected to all local coordinates of all the shape functions evaluated in all integrations points of all integration methods. It's a four dimensional array \( F_{ijkh} \) where i = GI_GAUSS_1,..., GI_GAUSS_4 and j is the integration point index and k is the shape function index and h is local coordinate index. In the other word component \( f_{ijkh} \) is the value of h'th component of local gradient of the shape function related to node k evaluated in integration point j of i integration method point set. Again if there is some integration method unsupported an empty ShapeFunctionsGradientsType must assigned to related place. For example if a geometry don't have gaussian order "2" ThisShapeFunctionsValues[GI_GAUSS_2] must be an empty ShapeFunctionsGradientsType.

◆ GeometryData() [2/3]

Kratos::GeometryData::GeometryData ( GeometryDimension const *  pThisGeometryDimension,
const GeometryShapeFunctionContainer< IntegrationMethod > &  ThisGeometryShapeFunctionContainer 
)
inline

◆ GeometryData() [3/3]

Kratos::GeometryData::GeometryData ( const GeometryData rOther)
inline

Copy constructor.

◆ ~GeometryData()

virtual Kratos::GeometryData::~GeometryData ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ DefaultIntegrationMethod()

IntegrationMethod Kratos::GeometryData::DefaultIntegrationMethod ( ) const
inline

Number of integration points for default integration method. This method just call IntegrationPointsNumber(enum IntegrationMethod ThisMethod) with default integration method.

Returns
SizeType which is the number of integration points for default integrating method.

◆ GetGeometryShapeFunctionContainer()

const GeometryShapeFunctionContainer<IntegrationMethod>& Kratos::GeometryData::GetGeometryShapeFunctionContainer ( ) const
inline

◆ HasIntegrationMethod()

bool Kratos::GeometryData::HasIntegrationMethod ( IntegrationMethod  ThisMethod) const
inline

This method confirm you if this geometry has a specific integration method or not. This method will be usefull to control the geometry before intagrating using a specific method. In GeometryData class this method controls if the integration points vector respecting to this method is empty or not.

Returns
bool true if this integration method exist and false if this method is not imeplemented for this geometry.

◆ Info()

virtual std::string Kratos::GeometryData::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ IntegrationPoints() [1/2]

const IntegrationPointsArrayType& Kratos::GeometryData::IntegrationPoints ( ) const
inline

Integtation points for default integration method. This method just call IntegrationPoints(enum IntegrationMethod ThisMethod) with default integration method.

Returns
const IntegrationPointsArrayType which is Vector of integration points for default integrating method.

◆ IntegrationPoints() [2/2]

const IntegrationPointsArrayType& Kratos::GeometryData::IntegrationPoints ( IntegrationMethod  ThisMethod) const
inline

Integtation points for given integration method. This method use integration points data base to obtain integration points Vector respected to given method.

Returns
const IntegrationPointsArrayType which is Vector of integration points for default integrating method.

◆ IntegrationPointsNumber() [1/2]

SizeType Kratos::GeometryData::IntegrationPointsNumber ( ) const
inline

◆ IntegrationPointsNumber() [2/2]

SizeType Kratos::GeometryData::IntegrationPointsNumber ( IntegrationMethod  ThisMethod) const
inline

Number of integtation points for given integration method. This method use integration points data base to obtain size of the integration points Vector respected to given method.

Returns
SizeType which is the number of integration points for given integrating method.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::GeometryData::KRATOS_CLASS_POINTER_DEFINITION ( GeometryData  )

Pointer definition of GeometryData.

◆ LocalSpaceDimension()

SizeType Kratos::GeometryData::LocalSpaceDimension ( ) const
inline

Local space dimension. for example a triangle is a 2 dimensional shape but can have 3 dimensional area coordinates l1, l2, l3.

Returns
SizeType, local space dimension of this geometry.
See also
Dimension()
WorkingSpaceDimension()

◆ operator=()

GeometryData& Kratos::GeometryData::operator= ( const GeometryData rOther)
inline

Assignment operator.

◆ PrintData()

virtual void Kratos::GeometryData::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::GeometryData::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ SetGeometryDimension()

void Kratos::GeometryData::SetGeometryDimension ( GeometryDimension const *  pGeometryDimension)
inline

◆ SetGeometryShapeFunctionContainer()

void Kratos::GeometryData::SetGeometryShapeFunctionContainer ( const GeometryShapeFunctionContainer< IntegrationMethod > &  rGeometryShapeFunctionContainer)
inline

SetGeometryShapeFunctionContainer updates the GeometryShapeFunctionContainer.

◆ ShapeFunctionDerivatives()

const Matrix& Kratos::GeometryData::ShapeFunctionDerivatives ( IndexType  DerivativeOrderIndex,
IndexType  IntegrationPointIndex,
IntegrationMethod  ThisMethod 
) const
inline

◆ ShapeFunctionLocalGradient() [1/3]

const Matrix& Kratos::GeometryData::ShapeFunctionLocalGradient ( IndexType  IntegrationPointIndex) const
inline

This method gives gradient of given shape function evaluated in given integration point of default integration method. It just call ShapeFunctionLocalGradient(IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) with default integration method. There is no calculation and it just give it from shape functions values container if they are existing. Otherwise it gives you error which this value is not exist.

Parameters
IntegrationPointIndexindex of integration point which shape function gradient evaluated in it.
ShapeFunctionIndexindex of node which correspounding shape function gradient evaluated in given integration point.
Returns
Gradient of given shape function in given integration point of default integration method.
See also
ShapeFunctionsValues
ShapeFunctionValue
ShapeFunctionsLocalGradients

◆ ShapeFunctionLocalGradient() [2/3]

const Matrix& Kratos::GeometryData::ShapeFunctionLocalGradient ( IndexType  IntegrationPointIndex,
IndexType  ShapeFunctionIndex,
IntegrationMethod  ThisMethod 
) const
inline

◆ ShapeFunctionLocalGradient() [3/3]

const Matrix& Kratos::GeometryData::ShapeFunctionLocalGradient ( IndexType  IntegrationPointIndex,
IntegrationMethod  ThisMethod 
) const
inline

This method gives gradient of given shape function evaluated in given integration point of given integration method. There is no calculation and it just give it from shape functions values container if they are existing. Otherwise it gives you error which this value is not exist.

Parameters
IntegrationPointIndexindex of integration point which shape function gradient evaluated in it.
ShapeFunctionIndexindex of node which correspounding shape function gradient evaluated in given integration point.
ThisMethodintegration method which shape function gradient evaluated in its integration points.
Returns
Gradient of given shape function in given integration point of given integration method.
See also
ShapeFunctionsValues
ShapeFunctionValue
ShapeFunctionsLocalGradients

◆ ShapeFunctionsLocalGradients() [1/2]

const ShapeFunctionsGradientsType& Kratos::GeometryData::ShapeFunctionsLocalGradients ( ) const
inline

This method gives all shape functions gradients evaluated in all integration points of default integration method. It just call ShapeFunctionsLocalGradients( IntegrationMethod ThisMethod) with default integration method. There is no calculation and it just give it from shape functions values container.

Note
There is no control if there is any gradient calculated or not!
Returns
shape functions' gradients \( F_{ijk} \) where i is the integration point index and j is the shape function index and k is local coordinate index. In other word component \( f_{ijk} \) is k'th component of gradient of the shape function corresponding to node j evaluated in integration point i of default integration method.
See also
ShapeFunctionsValues
ShapeFunctionValue
ShapeFunctionLocalGradient

◆ ShapeFunctionsLocalGradients() [2/2]

const ShapeFunctionsGradientsType& Kratos::GeometryData::ShapeFunctionsLocalGradients ( IntegrationMethod  ThisMethod) const
inline

This method gives all shape functions gradients evaluated in all integration points of given integration method. There is no calculation and it just give it from shape functions values container.

Note
There is no control if there is any gradient calculated or not!
Parameters
ThisMethodintegration method which shape functions gradients evaluated in its integration points.
Returns
shape functions' gradients \( F_{ijk} \) where i is the integration point index and j is the shape function index and k is local coordinate index. In other word component \( f_{ijk} \) is k'th component of gradient of the shape function corresponding to node j evaluated in integration point i of given integration method.
See also
ShapeFunctionsValues
ShapeFunctionValue
ShapeFunctionLocalGradient

◆ ShapeFunctionsValues() [1/2]

const Matrix& Kratos::GeometryData::ShapeFunctionsValues ( ) const
inline

This method gives all shape functions values evaluated in all integration points of default integration method. It just call ShapeFunctionsValues(enum IntegrationMethod ThisMethod) with default integration method.There is no calculation and it just give it from shape functions values container.

Note
There is no control if the return matrix is empty or not!
Returns
Matrix of values of shape functions \( F_{ij} \) where i is the integration point index and j is the shape function index. In other word component \( f_{ij} \) is value of the shape function corresponding to node j evaluated in integration point i of default integration method.
See also
ShapeFunctionValue
ShapeFunctionsLocalGradients
ShapeFunctionLocalGradient

◆ ShapeFunctionsValues() [2/2]

const Matrix& Kratos::GeometryData::ShapeFunctionsValues ( IntegrationMethod  ThisMethod) const
inline

This method gives all shape functions values evaluated in all integration points of given integration method. There is no calculation and it just give it from shape functions values container.

Note
There is no control if the return matrix is empty or not!
Parameters
ThisMethodintegration method which shape functions evaluated in its integration points.
Returns
Matrix of values of shape functions \( F_{ij} \) where i is the integration point index and j is the shape function index. In other word component \( f_{ij} \) is value of the shape function corresponding to node j evaluated in integration point i of given integration method.
See also
ShapeFunctionValue
ShapeFunctionsLocalGradients
ShapeFunctionLocalGradient

◆ ShapeFunctionValue() [1/2]

double Kratos::GeometryData::ShapeFunctionValue ( IndexType  IntegrationPointIndex,
IndexType  ShapeFunctionIndex 
) const
inline

This method gives value of given shape function evaluated in given integration point of default integration method. It just call ShapeFunctionValue(IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, enum IntegrationMethod ThisMethod) with default integration method. There is no calculation and it just give it from shape functions values container if they are existing. Otherwise it gives you error which this value is not exist.

Parameters
IntegrationPointIndexindex of integration point which shape functions evaluated in it.
ShapeFunctionIndexindex of node which correspounding shape function evaluated in given integration point.
Returns
Value of given shape function in given integration point of default integration method.
See also
ShapeFunctionsValues
ShapeFunctionsLocalGradients
ShapeFunctionLocalGradient

◆ ShapeFunctionValue() [2/2]

double Kratos::GeometryData::ShapeFunctionValue ( IndexType  IntegrationPointIndex,
IndexType  ShapeFunctionIndex,
IntegrationMethod  ThisMethod 
) const
inline

This method gives value of given shape function evaluated in given integration point of given integration method. There is no calculation and it just give it from shape functions values container if they are existing. Otherwise it gives you error which this value is not exist.

Parameters
IntegrationPointIndexindex of integration point which shape functions evaluated in it.
ShapeFunctionIndexindex of node which correspounding shape function evaluated in given integration point.
ThisMethodintegration method which shape function evaluated in its integration point.
Returns
Value of given shape function in given integration point of given integration method.
See also
ShapeFunctionsValues
ShapeFunctionsLocalGradients
ShapeFunctionLocalGradient

◆ WorkingSpaceDimension()

SizeType Kratos::GeometryData::WorkingSpaceDimension ( ) const
inline

Working space dimension. for example a triangle is a 2 dimensional shape but can be used in 3 dimensional space.

Returns
SizeType, working space dimension of this geometry.
See also
Dimension()
LocalSpaceDimension()

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

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