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

#include <ElementNS.h>

Inherits Element.

Inherited by ElementHexahedron, ElementPoint, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Collaboration diagram for ElementNS:
[legend]

Public Member Functions

 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)
virtual void attributFaceLimite (FaceNS **, const int &)
virtual void attributFaceCommunicante (FaceNS **, const int &, const int &)
virtual void construitFaces (const Coord *, FaceNS **, int &, int **, int *)
virtual void construitFacesSimplifie (int &, int **, int *)
virtual int compteFaceCommunicante (std::vector< int * > &, std::vector< int > &)
virtual int compteFaceCommunicante (int &, int **, int *)
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

Protected Member Functions

virtual void computeVolume (const Coord *)
virtual void computeLCFL (const Coord *)

Protected Attributes

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

◆ ElementNS() [1/2]

ElementNS::ElementNS ( )
Here is the caller graph for this function:

◆ ElementNS() [2/2]

ElementNS::ElementNS ( const int & typeGmsh,
const int & numberNodes,
const int & numberFaces,
const int & typeVTK )

◆ ~ElementNS()

ElementNS::~ElementNS ( )
override

Member Function Documentation

◆ attributFaceCommunicante()

virtual void ElementNS::attributFaceCommunicante ( FaceNS ** ,
const int & ,
const int &  )
inlinevirtual

Reimplemented in ElementHexahedron, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the call graph for this function:

◆ attributFaceLimite()

virtual void ElementNS::attributFaceLimite ( FaceNS ** ,
const int &  )
inlinevirtual

Reimplemented in ElementPoint, ElementQuadrangle, ElementSegment, and ElementTriangle.

Here is the call graph for this function:

◆ compteFaceCommunicante() [1/2]

virtual int ElementNS::compteFaceCommunicante ( int & ,
int ** ,
int *  )
inlinevirtual

Reimplemented in ElementHexahedron, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the call graph for this function:

◆ compteFaceCommunicante() [2/2]

virtual int ElementNS::compteFaceCommunicante ( std::vector< int * > & ,
std::vector< int > &  )
inlinevirtual

Reimplemented in ElementHexahedron, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the call graph for this function:

◆ computeLCFL()

virtual void ElementNS::computeLCFL ( const Coord * )
inlineprotectedvirtual

Reimplemented in ElementHexahedron, ElementPoint, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the caller graph for this function:

◆ computeVolume()

virtual void ElementNS::computeVolume ( const Coord * )
inlineprotectedvirtual

Reimplemented in ElementHexahedron, ElementPoint, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the caller graph for this function:

◆ construitElement()

void ElementNS::construitElement ( const int * numNodes,
const Coord * nodes,
const int numberEntitePhysique,
const int numberEntiteGeometrique,
int & indexElement )
Here is the call graph for this function:

◆ construitElementParallele()

void ElementNS::construitElementParallele ( const Coord * nodes)
Here is the call graph for this function:

◆ construitFaces()

virtual void ElementNS::construitFaces ( const Coord * ,
FaceNS ** ,
int & ,
int ** ,
int *  )
inlinevirtual

Reimplemented in ElementHexahedron, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the call graph for this function:

◆ construitFacesSimplifie()

virtual void ElementNS::construitFacesSimplifie ( int & ,
int ** ,
int *  )
inlinevirtual

Reimplemented in ElementHexahedron, ElementPrism, ElementPyramid, ElementQuadrangle, ElementSegment, ElementTetrahedron, and ElementTriangle.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAppartenanceGeometrique()

const int & ElementNS::getAppartenanceGeometrique ( ) const
inline
Here is the caller graph for this function:

◆ getAppartenancePhysique()

const int & ElementNS::getAppartenancePhysique ( ) const
inlineoverridevirtual

Reimplemented from Element.

Here is the caller graph for this function:

◆ getAutreCPU()

const int & ElementNS::getAutreCPU ( const int & autreCPU) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCPU()

const int & ElementNS::getCPU ( ) const
inline
Here is the caller graph for this function:

◆ getIndex()

const int & ElementNS::getIndex ( ) const
inlineoverridevirtual

Reimplemented from Element.

Here is the caller graph for this function:

◆ getNumberFaces()

const int & ElementNS::getNumberFaces ( ) const
inline
Here is the caller graph for this function:

◆ getNumberNodes()

const int & ElementNS::getNumberNodes ( ) const
inline
Here is the caller graph for this function:

◆ getNumberOthersCPU()

const int & ElementNS::getNumberOthersCPU ( ) const
inline
Here is the caller graph for this function:

◆ getNumNode()

const int & ElementNS::getNumNode ( int & node) const
inline
Here is the caller graph for this function:

◆ getTypeGmsh()

const int & ElementNS::getTypeGmsh ( ) const
inline
Here is the caller graph for this function:

◆ getTypeVTK()

const int & ElementNS::getTypeVTK ( ) const
inline

◆ isCommunicant()

const bool & ElementNS::isCommunicant ( ) const
inline

◆ isFantome()

const bool & ElementNS::isFantome ( ) const
inline

◆ printInfo()

void ElementNS::printInfo ( ) const
overridevirtual

Reimplemented from Element.

◆ removeCPUOthers()

void ElementNS::removeCPUOthers ( std::vector< int > & numCPU)
Here is the caller graph for this function:

◆ setAppartenanceCPU()

void ElementNS::setAppartenanceCPU ( const int * numCPU,
const int & numberCPU )

◆ setAppartenancePhysique()

void ElementNS::setAppartenancePhysique ( int & appartenancePhysique)

◆ setIndex()

void ElementNS::setIndex ( int & index)

◆ setIsCommunicant()

void ElementNS::setIsCommunicant ( bool isCommunicant)

◆ setIsFantome()

void ElementNS::setIsFantome ( bool isFantome)

◆ setNumNode() [1/2]

void ElementNS::setNumNode ( int & node,
int & numNode )

◆ setNumNode() [2/2]

void ElementNS::setNumNode ( int * numNodes)

Member Data Documentation

◆ m_appartenanceGeometrique

int ElementNS::m_appartenanceGeometrique
protected

◆ m_appartenancePhysique

int ElementNS::m_appartenancePhysique
protected

◆ m_CPU

int ElementNS::m_CPU
protected

◆ m_index

int ElementNS::m_index
protected

◆ m_isCommunicant

bool ElementNS::m_isCommunicant
protected

◆ m_isFantome

bool ElementNS::m_isFantome
protected

◆ m_numberFaces

int ElementNS::m_numberFaces
protected

◆ m_numberNodes

int ElementNS::m_numberNodes
protected

◆ m_numberOtherCPU

int ElementNS::m_numberOtherCPU
protected

◆ m_numNodes

int* ElementNS::m_numNodes
protected

◆ m_otherCPU

int* ElementNS::m_otherCPU
protected

◆ m_typeGmsh

int ElementNS::m_typeGmsh
protected

◆ m_typeVTK

int ElementNS::m_typeVTK
protected

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