ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
Tools.h File Reference
#include "Eos/Eos.h"

Go to the source code of this file.

Classes

class  Tools
 Class for tools. More...
 

Typedefs

template<class Type >
using TypeMeshContainer = std::vector< Type >
 Template for the type of the mesh container (std::list for now, but may change to something else if wanted)
 

Enumerations

enum  Prim { vecPhases , vecPhasesO2 , vecSlopes , restart }
 Enumeration for the primitive-variable type (usefull for second order, slopes, etc.) More...
 
enum  Axis { X , Y , Z }
 Enumeration for the axes (X, Y and Z for the axes in the x-, y- and z-direction) More...
 
enum  TypeOutput { GNU , XML }
 Enumeration for the type of output (GNU, XML) More...
 
enum  TypeM { REC , UNS , AMR }
 Enumeration for the type of mesh (REC: rectilinear, UNS: unstructured, AMR: adaptative mesh refinement) More...
 
enum  TypeData { FLOAT , DOUBLE , INT , CHAR }
 Enumeration for the type of data (FLOAT, DOUBLE, INT, CHAR) More...
 
enum  TypeGO { VERTEX , LINE , PLAN }
 Enumeration for the type of geometric object (VERTEX, LINE, PLAN) More...
 
enum  TypeBC {
  NONREFLECTING = 1 , WALL = 2 , OUTLETPRESSURE = 3 , INLETINJSTAGSTATE = 4 ,
  INLETTANK = 5 , SYMMETRY = 6 , INLETINJTEMP = 7 , NULLFLUX = 8 ,
  OUTLETMASSFLOW = 9 , PISTON = 10
}
 Enumeration for the type of boundary. More...
 
enum  VarBoundary {
  p , rho , velU , velV ,
  velW , SIZE = (velW+1)
}
 Enumeration for the variable to extract on a boundary. More...
 
enum  TypeBCHeat { ADIABATIC = 0 , IMPOSEDTEMP = 1 , IMPOSEDFLUX = 2 }
 Enumeration for the heat type of wall boundary (ADIABATIC, IMPOSEDTEMP, IMPOSEDFLUX) More...
 
enum  TypeRelax { P = 1 , PT = 2 , PTMU = 3 }
 Enumeration for the type of relaxation (P, PT, PTMu) More...
 
enum  TypeGrad { FD , GG }
 Enumeration for the gradient method (Finite-Difference (FD), Green-Gauss (GG)) More...
 
enum  PhaseType { LIQ = 0 , VAP = 1 }
 Enumeration for the phase index of a liquid/vapor couple. More...
 
enum  LimiterType { NONE = 0 , MINMOD = 1 , SUPERBEE = 2 }
 Enumeration for the type of second order limiter (NS only) More...
 
enum class  Variable {
  transport , pressure , density , alpha ,
  velocityMag , velocityU , velocityV , velocityW ,
  temperature , QPA , lambda , cobaseXX ,
  cobaseXY , cobaseXZ , cobaseYX , cobaseYY ,
  cobaseYZ , cobaseZX , cobaseZY , cobaseZZ
}
 Enumeration for the flow variables. More...
 

Functions

template<typename T >
int sign (T val)
 Template for type-safe sign function.
 

Variables

ToolsTB
 
int numberPhases
 
int numberSolids
 
int numberTransports
 

Typedef Documentation

◆ TypeMeshContainer

template<class Type >
using TypeMeshContainer = std::vector<Type>

Template for the type of the mesh container (std::list for now, but may change to something else if wanted)

Enumeration Type Documentation

◆ Axis

enum Axis

Enumeration for the axes (X, Y and Z for the axes in the x-, y- and z-direction)

Enumerator

◆ LimiterType

Enumeration for the type of second order limiter (NS only)

Enumerator
NONE 
MINMOD 
SUPERBEE 

◆ PhaseType

enum PhaseType

Enumeration for the phase index of a liquid/vapor couple.

Enumerator
LIQ 
VAP 

◆ Prim

enum Prim

Enumeration for the primitive-variable type (usefull for second order, slopes, etc.)

Enumerator
vecPhases 
vecPhasesO2 
vecSlopes 
restart 

◆ TypeBC

enum TypeBC

Enumeration for the type of boundary.

Enumerator
NONREFLECTING 
WALL 
OUTLETPRESSURE 
INLETINJSTAGSTATE 
INLETTANK 
SYMMETRY 
INLETINJTEMP 
NULLFLUX 
OUTLETMASSFLOW 
PISTON 

◆ TypeBCHeat

enum TypeBCHeat

Enumeration for the heat type of wall boundary (ADIABATIC, IMPOSEDTEMP, IMPOSEDFLUX)

Enumerator
ADIABATIC 
IMPOSEDTEMP 
IMPOSEDFLUX 

◆ TypeData

enum TypeData

Enumeration for the type of data (FLOAT, DOUBLE, INT, CHAR)

Enumerator
FLOAT 
DOUBLE 
INT 
CHAR 

◆ TypeGO

enum TypeGO

Enumeration for the type of geometric object (VERTEX, LINE, PLAN)

Enumerator
VERTEX 
LINE 
PLAN 

◆ TypeGrad

enum TypeGrad

Enumeration for the gradient method (Finite-Difference (FD), Green-Gauss (GG))

Enumerator
FD 
GG 

◆ TypeM

enum TypeM

Enumeration for the type of mesh (REC: rectilinear, UNS: unstructured, AMR: adaptative mesh refinement)

Enumerator
REC 
UNS 
AMR 

◆ TypeOutput

enum TypeOutput

Enumeration for the type of output (GNU, XML)

Enumerator
GNU 
XML 

◆ TypeRelax

enum TypeRelax

Enumeration for the type of relaxation (P, PT, PTMu)

Enumerator
PT 
PTMU 

◆ VarBoundary

Enumeration for the variable to extract on a boundary.

Enumerator
rho 
velU 
velV 
velW 
SIZE 

◆ Variable

enum class Variable
strong

Enumeration for the flow variables.

Enumerator
transport 
pressure 
density 
alpha 
velocityMag 
velocityU 
velocityV 
velocityW 
temperature 
QPA 
lambda 
cobaseXX 
cobaseXY 
cobaseXZ 
cobaseYX 
cobaseYY 
cobaseYZ 
cobaseZX 
cobaseZY 
cobaseZZ 

Function Documentation

◆ sign()

template<typename T >
int sign ( val)

Template for type-safe sign function.

Variable Documentation

◆ numberPhases

int numberPhases
extern

◆ numberSolids

int numberSolids
extern

◆ numberTransports

int numberTransports
extern

◆ TB

Tools* TB
extern