![]() |
ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Abstract class for a mesh. More...
#include <Mesh.h>
Inherited by MeshCartesian, and MeshUnStruct.
Public Member Functions | |
Mesh () | |
virtual | ~Mesh () |
virtual void | assignLimits (std::vector< BoundCond * > &boundCond)=0 |
virtual int | initializeGeometrie (TypeMeshContainer< Cell * > &cells, TypeMeshContainer< Cell * > &cellsGhost, TypeMeshContainer< CellInterface * > &cellInterfaces, const int &restartSimulation, bool pretraitementParallele=true, std::string ordreCalcul="FIRSTORDER")=0 |
renvoi le number de dimensions (1,2 ou 3) | |
virtual std::string | whoAmI () const |
virtual void | setImmersedBoundaries (TypeMeshContainer< CellInterface * > *, std::string) const |
const int & | getProblemDimension () const |
const int & | getNumberCells () const |
const int & | getNumberCellsTotal () const |
const int & | getNumberFaces () const |
const int & | getNumFichier () const |
virtual double | getdX () const |
virtual double | getdY () const |
virtual double | getdZ () const |
const TypeM & | getType () const |
virtual int | getNumberCellsY () |
virtual int | getNumberCellsZ () |
virtual int | getLvlMax () const |
void | writeResultsGnuplot (std::vector< Cell * > *cellsLvl, std::ofstream &fileStream, GeometricObject *objet=0, bool recordPsat=false) const |
virtual void | writeHeaderPiece (std::ofstream &, std::vector< Cell * > *) const |
virtual std::string | getStringExtent (bool=false) const |
virtual void | getCoord (std::vector< double > &, Axis) const |
virtual void | getNodes (std::vector< double > &, std::vector< Cell * > *) const |
virtual void | getConnectivity (std::vector< double > &, std::vector< Cell * > *) const |
virtual void | getOffsets (std::vector< double > &, std::vector< Cell * > *) const |
virtual void | getTypeCell (std::vector< double > &, std::vector< Cell * > *) const |
virtual void | getData (std::vector< Cell * > *, std::vector< double > &, const int, int) const |
Extracting data for printing results. | |
virtual void | setDataSet (std::vector< double > &, std::vector< Cell * > *, const int, int) const |
Extracting data for printing results. | |
virtual void | refineCellAndCellInterfaces (Cell *, const std::vector< AddPhys * > &, int &) |
virtual void | extractAbsVelocityMRF (std::vector< Cell * > *, std::vector< double > &, Source *) const |
Extracting absolute velocity for specific Moving Reference Frame computations. | |
virtual void | extractReferenceLength (std::vector< Cell * > *, std::vector< double > &) const |
virtual void | printDomainDecomposition (std::ofstream &) |
virtual void | readDomainDecomposition (std::ifstream &) |
virtual void | procedureRaffinementInitialization (std::vector< Cell * > *, TypeMeshContainer< Cell * > *, std::vector< CellInterface * > *, const std::vector< AddPhys * > &, int &nbCellsTotalAMR, std::vector< GeometricalDomain * > &, Eos **, const int &, std::string, std::vector< GeometricalDomain * > &) |
virtual void | procedureRaffinement (std::vector< Cell * > *, TypeMeshContainer< Cell * > *, std::vector< CellInterface * > *, const int &, const std::vector< AddPhys * > &, int &, Eos **) |
virtual void | initializePersistentCommunications (const TypeMeshContainer< Cell * > &cells, std::string ordreCalcul) |
virtual void | finalizeParallele (const int &lvlMax) |
virtual void | parallelLoadBalancingAMR (std::vector< Cell * > *, TypeMeshContainer< Cell * > *, std::vector< CellInterface * > *, std::string, const std::vector< AddPhys * > &, Eos **, int &, std::vector< GeometricalDomain * > &, bool=false) |
virtual std::string | getMeshExtension () const |
virtual void | initCpuMeshSequential (TypeMeshContainer< Cell * > &, std::string &) |
Initialize mesh of a single partition for restart with mesh mapping option. | |
virtual void | initCpuMeshParallel (TypeMeshContainer< Cell * > &, std::string &, int) |
Initialize mesh of a single partition of a partionned mesh for restart with mesh mapping option. | |
Protected Attributes | |
int | m_numFichier |
int | m_problemDimension |
int | m_numberElements |
int | m_numberFacesTotal |
int | m_numberCellsCalcul |
int | m_numberCellsTotal |
TypeM | m_type |
Abstract class for a mesh.
Can not be instanciated, depend on the mesh properties
Mesh::Mesh | ( | ) |
|
virtual |
|
pure virtual |
Implemented in MeshCartesian, and MeshUnStruct.
|
inlinevirtual |
Extracting absolute velocity for specific Moving Reference Frame computations.
cellsLvl | data structure containing pointer to cells |
sourceMRF | pointer to the corresponding MRF source |
dataset | double vector containing the extracted data |
|
inlinevirtual |
Reimplemented in MeshUnStruct.
|
virtual |
Reimplemented in MeshCartesianAMR.
|
inlinevirtual |
Reimplemented in MeshUnStruct, and MeshCartesianAMR.
|
inlinevirtual |
Reimplemented in MeshCartesian.
|
inlinevirtual |
Extracting data for printing results.
This method enable to extract a set of data for mixture or phase, scalar or vetor
cellsLvl | data structure containing pointer to cells |
var | number of requested varaible to extract (>0 for scalar, <0 for vector) |
phase | number of requested phase (-1 for mixture, -2 for transport, -3 for xi, -4 for gradient density mixture) |
dataset | double vector containing the extracted data |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in MeshCartesianAMR.
|
inlinevirtual |
Reimplemented in MUSGmsh.
|
inlinevirtual |
Reimplemented in MeshUnStruct, and MeshCartesianAMR.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in MeshCartesian.
|
inlinevirtual |
Reimplemented in MeshCartesian.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in MeshUnStruct, and MeshCartesianAMR.
|
inline |
|
inlinevirtual |
Reimplemented in MeshCartesian.
|
inline |
|
inlinevirtual |
Reimplemented in MeshUnStruct, and MeshCartesianAMR.
|
inlinevirtual |
Initialize mesh of a single partition of a partionned mesh for restart with mesh mapping option.
This mesh object has only the elements and nodes filled
Reimplemented in MUSGmshV4, MUSGmshV2, MeshUnStruct, and MUSGmsh.
|
inlinevirtual |
Initialize mesh of a single partition for restart with mesh mapping option.
This mesh object has only the elements and nodes filled
Reimplemented in MUSGmshV4, MUSGmshV2, MeshUnStruct, and MUSGmsh.
|
pure virtual |
renvoi le number de dimensions (1,2 ou 3)
Implemented in MeshUnStruct, MeshCartesian, and MeshCartesianAMR.
|
virtual |
Reimplemented in MeshCartesianAMR.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in MeshCartesianAMR.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in MeshCartesianAMR.
|
inlinevirtual |
Reimplemented in MeshCartesianAMR.
|
inlinevirtual |
Extracting data for printing results.
This method enable to extract a set of data for mixture or phase, scalar or vetor
cellsLvl | data structure containing pointer to cells |
var | number of requested varaible to extract (>0 for scalar, <0 for vector) |
phase | number of requested phase (-1 for mixture, -2 for transport, -3 for xi, -4 for gradient density mixture) |
dataset | double vector containing the extracted data |
|
inlinevirtual |
Reimplemented in MeshCartesian.
|
inlinevirtual |
Reimplemented in MeshCartesian, MeshCartesianAMR, and MeshUnStruct.
|
inlinevirtual |
void Mesh::writeResultsGnuplot | ( | std::vector< Cell * > * | cellsLvl, |
std::ofstream & | fileStream, | ||
GeometricObject * | objet = 0 , |
||
bool | recordPsat = false |
||
) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |