Version: 9.12.0
MED::TGaussDef Struct Reference

Description of family of integration points. More...

#include <MED_GaussDef.hxx>

Public Member Functions

 TGaussDef (const int geomType, const int nbPoints, const int variant=1)
 Creates definition of gauss points family. More...
 
int dim () const
 
int nbPoints () const
 

Data Fields

int myType
 element geometry (EGeometrieElement or med_geometrie_element) More...
 
TDoubleVector myRefCoords
 description of reference points More...
 
TDoubleVector myCoords
 coordinates of Gauss points More...
 
TDoubleVector myWeights
 weights, len(weights)==<nb of gauss points> More...
 

Private Member Functions

void add (const double x, const double weight)
 
void add (const double x, const double y, const double weight)
 
void add (const double x, const double y, const double z, const double weight)
 
void setRefCoords (const TShapeFun &aShapeFun)
 

Detailed Description

Description of family of integration points.

Constructor & Destructor Documentation

◆ TGaussDef()

MED::TGaussDef::TGaussDef ( const int  geomType,
const int  nbPoints,
const int  variant = 1 
)

Creates definition of gauss points family.

Fill definition of gauss points family.

Parameters
geomType- element geometry (EGeometrieElement or med_geometrie_element)
nbPoints- nb gauss point
variant- [1-3] to choose the variant of definition

Throws in case of invalid parameters variant == 1 refers to "Fonctions de forme et points d'integration des elements finis" v7.4 by J. PELLET, X. DESROCHES, 15/09/05 variant == 2 refers to the same doc v6.4 by J.P. LEFEBVRE, X. DESROCHES, 03/07/03 variant == 3 refers to the same doc v6.4, second variant for 2D elements

References add(), MESHCUT::d, dim(), MED::eHEXA20, MED::eHEXA8, MED::ePENTA15, MED::ePENTA6, MED::ePYRA13, MED::ePYRA5, MED::eQUAD4, MED::eQUAD8, MED::eSEG2, MED::eSEG3, MED::eTETRA10, MED::eTETRA4, MED::eTRIA3, MED::eTRIA6, EXCEPTION, myCoords, myType, myWeights, and setRefCoords().

Member Function Documentation

◆ add() [1/3]

void MED::TGaussDef::add ( const double  x,
const double  weight 
)
private

References dim(), EXCEPTION, myCoords, and myWeights.

Referenced by TGaussDef().

◆ add() [2/3]

void MED::TGaussDef::add ( const double  x,
const double  y,
const double  weight 
)
private

References dim(), EXCEPTION, myCoords, and myWeights.

◆ add() [3/3]

void MED::TGaussDef::add ( const double  x,
const double  y,
const double  z,
const double  weight 
)
private

References dim(), EXCEPTION, myCoords, and myWeights.

◆ dim()

int MED::TGaussDef::dim ( ) const

References myType.

Referenced by add(), and TGaussDef().

◆ nbPoints()

int MED::TGaussDef::nbPoints ( ) const

References myWeights.

◆ setRefCoords()

void MED::TGaussDef::setRefCoords ( const TShapeFun aShapeFun)
private

References MED::TShapeFun::myRefCoord, and myRefCoords.

Referenced by TGaussDef().

Field Documentation

◆ myCoords

TDoubleVector MED::TGaussDef::myCoords

coordinates of Gauss points

Referenced by add(), and TGaussDef().

◆ myRefCoords

TDoubleVector MED::TGaussDef::myRefCoords

description of reference points

Referenced by setRefCoords().

◆ myType

int MED::TGaussDef::myType

element geometry (EGeometrieElement or med_geometrie_element)

Referenced by dim(), and TGaussDef().

◆ myWeights

TDoubleVector MED::TGaussDef::myWeights

weights, len(weights)==<nb of gauss points>

Referenced by add(), nbPoints(), and TGaussDef().