ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
ElementTriangle Class Reference

#include <ElementTriangle.h>

Inherits ElementNS.

Collaboration diagram for ElementTriangle:
[legend]

Public Member Functions

 ElementTriangle ()
 ~ElementTriangle () override
void construitFaces (const Coord *nodes, FaceNS **faces, int &indexMaxFaces, int **facesBuff, int *sumNodesBuff) override
void construitFacesSimplifie (int &iMax, int **facesBuff, int *sumNodesBuff) override
void attributFaceLimite (FaceNS **faces, const int &indexMaxFaces) override
void attributFaceCommunicante (FaceNS **faces, const int &indexMaxFaces, const int &numberNodesInternal) override
int compteFaceCommunicante (std::vector< int * > &faces, std::vector< int > &sumNodesBuff) override
int compteFaceCommunicante (int &iMax, int **faces, int *sumNodesBuff) override
Public Member Functions inherited from ElementNS
 ElementNS ()
 ElementNS (const int &typeGmsh, const int &numberNodes, const int &numberFaces, const int &typeVTK)
 ~ElementNS () override
void construitElement (const int *numNodes, const Coord *nodes, const int numberEntitePhysique, const int numberEntiteGeometrique, int &indexElement)
void construitElementParallele (const Coord *nodes)
void removeCPUOthers (std::vector< int > &numCPU)
void setIndex (int &index)
void setAppartenancePhysique (int &appartenancePhysique)
void setNumNode (int *numNodes)
void setNumNode (int &node, int &numNode)
void setIsFantome (bool isFantome)
void setIsCommunicant (bool isCommunicant)
void setAppartenanceCPU (const int *numCPU, const int &numberCPU)
const int & getIndex () const override
const int & getNumberNodes () const
const int & getNumberFaces () const
const int & getTypeGmsh () const
const int & getTypeVTK () const
const int & getNumNode (int &node) const
const int & getAppartenancePhysique () const override
const int & getAppartenanceGeometrique () const
const int & getCPU () const
const int & getNumberOthersCPU () const
const int & getAutreCPU (const int &autreCPU) const
void printInfo () const override
const bool & isFantome () const
const bool & isCommunicant () const
Public Member Functions inherited from Element
 Element ()
virtual ~Element ()
void setCellAssociee (const int &numCell)
const Coord & getPosition () const
const double & getLCFL () const
const double & getVolume () const
const int & getNumCellAssociee () const
virtual void setVolume (const double &)
 default
virtual void setLCFL (const double &)
virtual void setPos (const double &, const double &, const double &)
virtual void setPos (const Coord &)
virtual void setPosX (const double &)
virtual void setPosY (const double &)
virtual void setPosZ (const double &)
virtual void setSize (const double &, const double &, const double &)
virtual void setSize (const Coord &)
void writePos (std::ofstream &fileStream, Axis axis)
double distance (const Element *e)
double distanceX (const Element *e)
double distanceY (const Element *e)
double distanceZ (const Element *e)
double distance (const Face *f)
double distanceX (const Face *f)
double distanceY (const Face *f)
double distanceZ (const Face *f)
virtual const double & getSizeX ()
virtual const double & getSizeY ()
virtual const double & getSizeZ ()
virtual const Coord & getSize ()
bool traverseObjet (const GeometricObject &objet) const
virtual void creerElementChild ()
virtual Element * getElementChild (const int &)
virtual Element * getElementChildBack ()
virtual void finalizeElementsChildren ()
virtual void setKey (const decomposition::Key< 3 > &key)
virtual const decomposition::Key< 3 > & getKey () const

Private Member Functions

void computeVolume (const Coord *nodes) override
void computeLCFL (const Coord *nodes) override

Static Private Attributes

static const int TYPEGMSH = 2
static const int NUMBERNODES = 3
static const int NUMBERFACES = 3
static const int TYPEVTK = 5

Additional Inherited Members

Protected Attributes inherited from ElementNS
int m_index
int m_typeGmsh
int m_typeVTK
int m_numberNodes
int m_numberFaces
int m_appartenancePhysique
int m_appartenanceGeometrique
bool m_isFantome
bool m_isCommunicant
int m_CPU
int m_numberOtherCPU
int * m_otherCPU
int * m_numNodes
Protected Attributes inherited from Element
Coord m_position
double m_volume
double m_lCFL
int m_numCellAssociee
decomposition::Key< 3 > m_key

Constructor & Destructor Documentation

◆ ElementTriangle()

ElementTriangle::ElementTriangle ( )
Here is the call graph for this function:

◆ ~ElementTriangle()

ElementTriangle::~ElementTriangle ( )
override

Member Function Documentation

◆ attributFaceCommunicante()

void ElementTriangle::attributFaceCommunicante ( FaceNS ** faces,
const int & indexMaxFaces,
const int & numberNodesInternal )
overridevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ attributFaceLimite()

void ElementTriangle::attributFaceLimite ( FaceNS ** faces,
const int & indexMaxFaces )
overridevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ compteFaceCommunicante() [1/2]

int ElementTriangle::compteFaceCommunicante ( int & iMax,
int ** faces,
int * sumNodesBuff )
overridevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ compteFaceCommunicante() [2/2]

int ElementTriangle::compteFaceCommunicante ( std::vector< int * > & faces,
std::vector< int > & sumNodesBuff )
overridevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ computeLCFL()

void ElementTriangle::computeLCFL ( const Coord * nodes)
overrideprivatevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ computeVolume()

void ElementTriangle::computeVolume ( const Coord * nodes)
overrideprivatevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ construitFaces()

void ElementTriangle::construitFaces ( const Coord * nodes,
FaceNS ** faces,
int & indexMaxFaces,
int ** facesBuff,
int * sumNodesBuff )
overridevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

◆ construitFacesSimplifie()

void ElementTriangle::construitFacesSimplifie ( int & iMax,
int ** facesBuff,
int * sumNodesBuff )
overridevirtual

Reimplemented from ElementNS.

Here is the call graph for this function:

Member Data Documentation

◆ NUMBERFACES

const int ElementTriangle::NUMBERFACES = 3
staticprivate

◆ NUMBERNODES

const int ElementTriangle::NUMBERNODES = 3
staticprivate

◆ TYPEGMSH

const int ElementTriangle::TYPEGMSH = 2
staticprivate

◆ TYPEVTK

const int ElementTriangle::TYPEVTK = 5
staticprivate

The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Meshes/MeshUnStruct/MUSGmsh/ElementTriangle.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Meshes/MeshUnStruct/MUSGmsh/ElementTriangle.cpp