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

#include <Element.h>

Inherited by ElementCartesian, and ElementNS.

Collaboration diagram for Element:
[legend]

Public Member Functions

 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 const int & getIndex () const
virtual const int & getAppartenancePhysique () 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)
virtual void printInfo () const
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 Attributes

Coord m_position
double m_volume
double m_lCFL
int m_numCellAssociee
decomposition::Key< 3 > m_key

Constructor & Destructor Documentation

◆ Element()

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

◆ ~Element()

Element::~Element ( )
virtual

Member Function Documentation

◆ creerElementChild()

virtual void Element::creerElementChild ( )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ distance() [1/2]

double Element::distance ( const Element * e)

Calcul de la distance entre center et center d un autre element

Here is the call graph for this function:

◆ distance() [2/2]

double Element::distance ( const Face * f)

Calcul de la distance entre center et center d une face

Here is the call graph for this function:

◆ distanceX() [1/2]

double Element::distanceX ( const Element * e)

Calcul de la distance selon x entre center et center d un autre element

Here is the call graph for this function:

◆ distanceX() [2/2]

double Element::distanceX ( const Face * f)

Calcul de la distance selon x entre center et center d une face

Here is the call graph for this function:

◆ distanceY() [1/2]

double Element::distanceY ( const Element * e)

Calcul de la distance selon y entre center et center d un autre element

Here is the call graph for this function:

◆ distanceY() [2/2]

double Element::distanceY ( const Face * f)

Calcul de la distance selon y entre center et center d une face

Here is the call graph for this function:

◆ distanceZ() [1/2]

double Element::distanceZ ( const Element * e)

Calcul de la distance selon z entre center et center d un autre element

Here is the call graph for this function:

◆ distanceZ() [2/2]

double Element::distanceZ ( const Face * f)

Calcul de la distance selon z entre center et center d une face

Here is the call graph for this function:

◆ finalizeElementsChildren()

virtual void Element::finalizeElementsChildren ( )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ getAppartenancePhysique()

virtual const int & Element::getAppartenancePhysique ( ) const
inlinevirtual

Reimplemented in ElementNS.

Here is the caller graph for this function:

◆ getElementChild()

virtual Element * Element::getElementChild ( const int & )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ getElementChildBack()

virtual Element * Element::getElementChildBack ( )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ getIndex()

virtual const int & Element::getIndex ( ) const
inlinevirtual

Reimplemented in ElementNS.

Here is the call graph for this function:

◆ getKey()

virtual const decomposition::Key< 3 > & Element::getKey ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getLCFL()

const double & Element::getLCFL ( ) const
inline

◆ getNumCellAssociee()

const int & Element::getNumCellAssociee ( ) const
inline

◆ getPosition()

const Coord & Element::getPosition ( ) const
inline
Here is the caller graph for this function:

◆ getSize()

virtual const Coord & Element::getSize ( )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ getSizeX()

virtual const double & Element::getSizeX ( )
inlinevirtual

Reimplemented in ElementCartesian.

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

◆ getSizeY()

virtual const double & Element::getSizeY ( )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ getSizeZ()

virtual const double & Element::getSizeZ ( )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ getVolume()

const double & Element::getVolume ( ) const
inline
Here is the caller graph for this function:

◆ printInfo()

virtual void Element::printInfo ( ) const
inlinevirtual

Reimplemented in ElementNS.

Here is the call graph for this function:

◆ setCellAssociee()

void Element::setCellAssociee ( const int & numCell)
inline

◆ setKey()

void Element::setKey ( const decomposition::Key< 3 > & key)
virtual
Here is the caller graph for this function:

◆ setLCFL()

virtual void Element::setLCFL ( const double & )
inlinevirtual

Reimplemented in ElementCartesian.

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

◆ setPos() [1/2]

virtual void Element::setPos ( const Coord & )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ setPos() [2/2]

virtual void Element::setPos ( const double & ,
const double & ,
const double &  )
inlinevirtual

Reimplemented in ElementCartesian.

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

◆ setPosX()

virtual void Element::setPosX ( const double & )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ setPosY()

virtual void Element::setPosY ( const double & )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ setPosZ()

virtual void Element::setPosZ ( const double & )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ setSize() [1/2]

virtual void Element::setSize ( const Coord & )
inlinevirtual

Reimplemented in ElementCartesian.

Here is the call graph for this function:

◆ setSize() [2/2]

virtual void Element::setSize ( const double & ,
const double & ,
const double &  )
inlinevirtual

Reimplemented in ElementCartesian.

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

◆ setVolume()

virtual void Element::setVolume ( const double & )
inlinevirtual

default

Reimplemented in ElementCartesian.

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

◆ traverseObjet()

bool Element::traverseObjet ( const GeometricObject & objet) const
Here is the call graph for this function:

◆ writePos()

void Element::writePos ( std::ofstream & fileStream,
Axis axis )
Here is the call graph for this function:

Member Data Documentation

◆ m_key

decomposition::Key<3> Element::m_key
protected

Key of the element on the paralleled decomposed domain (following a z-order curve)

◆ m_lCFL

double Element::m_lCFL
protected

Longueur utile pour le compute du pas de temps

◆ m_numCellAssociee

int Element::m_numCellAssociee
protected

◆ m_position

Coord Element::m_position
protected

Position du center de l'element

◆ m_volume

double Element::m_volume
protected

Volume pour les elements 3D, Aire pour les elements 2D, Longueur pour les elements 1D


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