Class describing a cuboid geometrical domain.
More...
#include <GDCuboid.h>
Inherits GeometricalDomain.
|
| | GDCuboid (std::string name, std::vector< Phase * > vecPhases, Mixture *mixture, std::vector< Transport > vecTransports, tinyxml2::XMLElement *element, const int &physicalEntity, std::string fileName="Unknown file") |
| | Geometrical constructor from a XML format reading.
|
| | ~GDCuboid () override |
| bool | belong (Coord &posElement, const int &) const override |
| | Method to verify inclusion of a vertex in geometrical domain.
|
| Public Member Functions inherited from GeometricalDomain |
| | GeometricalDomain (std::string name, std::vector< Phase * > vecPhases, Mixture *mixture, std::vector< Transport > vecTransports, const int &physicalEntity) |
| | Generic geometrical constructor.
|
| virtual | ~GeometricalDomain () |
| virtual void | fillIn (Cell *cell) const |
| | Method to fill in the cell data with the ones of the corresponding domain.
|
| const std::string & | getName () |
| const int & | getPhysicalEntity () |
|
| Coord | m_posXmYmZm |
| | Coordinates of the bottom left front corner (minimum positions in X, Y, Z).
|
| double | m_lX |
| double | m_lY |
| double | m_lZ |
| | Width along X, Y and Z axis.
|
Class describing a cuboid geometrical domain.
◆ GDCuboid()
| GDCuboid::GDCuboid |
( |
std::string | name, |
|
|
std::vector< Phase * > | vecPhases, |
|
|
Mixture * | mixture, |
|
|
std::vector< Transport > | vecTransports, |
|
|
tinyxml2::XMLElement * | element, |
|
|
const int & | physicalEntity, |
|
|
std::string | fileName = "Unknown file" ) |
Geometrical constructor from a XML format reading.
Reading data from XML file under the following format: ex : <dataCuboid lAxisX="0.3" lAxisY="0.2" lAxisZ="0.4"> <posInferiorVertex x = "0.4" y = "0.5" z = "0." > </dataCuboid>
- Parameters
-
| vecPhases | Phases vector variables to copy in geometrical domain |
| mixture | Mixture variables to copy in geometrical domain |
| vecTransports | Transports vector varaiables to copy in geometrical domain |
| element | XML element to read for geometrical properties |
| physicalEntity | physical entity number relative to mesh generation (see mesh tool) |
| fileName | String name of readed XML file |
◆ ~GDCuboid()
◆ belong()
| bool GDCuboid::belong |
( |
Coord & | , |
|
|
const int & | ) const |
|
overridevirtual |
Method to verify inclusion of a vertex in geometrical domain.
- Parameters
-
| posElement | Point coordinates |
| lvl | Level of the cell |
- Returns
- True if the vertex belongs to geometrical domain
Implements GeometricalDomain.
◆ m_lX
◆ m_lY
◆ m_lZ
Width along X, Y and Z axis.
◆ m_posXmYmZm
| Coord GDCuboid::m_posXmYmZm |
|
private |
Coordinates of the bottom left front corner (minimum positions in X, Y, Z).
The documentation for this class was generated from the following files:
- /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Geometries/GDCuboid.h
- /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Geometries/GDCuboid.cpp