Class describing a half space geometrical domain.
More...
#include <GDHalfSpace.h>
Inherits GeometricalDomain.
|
| GDHalfSpace (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.
|
|
virtual | ~GDHalfSpace () |
|
virtual bool | belong (Coord &posElement, const int &) const |
| Method to verify inclusion of a vertex in geometrical domain.
|
|
virtual void | fillIn (Cell *cell) const |
| Method to fill in the cell data with the ones of the corresponding 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 () |
|
const std::string & | getName () |
|
const int & | getPhysicalEntity () |
|
|
double | m_position |
| Origin of the half space along axis.
|
|
Axis | m_axis |
| Axis orthogonal to the origin plane of the half space.
|
|
int | m_direction |
| Direction along axis (positive or negative)
|
|
Class describing a half space geometrical domain.
◆ GDHalfSpace()
GDHalfSpace::GDHalfSpace |
( |
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 : <dataHalfSpace axis="x" origin="0.5" direction="positive">
- 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 |
◆ ~GDHalfSpace()
GDHalfSpace::~GDHalfSpace |
( |
| ) |
|
|
virtual |
◆ belong()
bool GDHalfSpace::belong |
( |
Coord & |
, |
|
|
const int & |
|
|
) |
| const |
|
virtual |
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.
◆ fillIn()
void GDHalfSpace::fillIn |
( |
Cell * |
cell | ) |
const |
|
virtual |
Method to fill in the cell data with the ones of the corresponding domain.
- Parameters
-
Reimplemented from GeometricalDomain.
◆ m_axis
Axis orthogonal to the origin plane of the half space.
◆ m_direction
int GDHalfSpace::m_direction |
|
private |
Direction along axis (positive or negative)
◆ m_position
double GDHalfSpace::m_position |
|
private |
Origin of the half space along axis.
The documentation for this class was generated from the following files:
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Geometries/GDHalfSpace.h
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Geometries/GDHalfSpace.cpp