Unstruct2D
1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Triangular Grids
|
#include <cmath>
#include <cfloat>
Go to the source code of this file.
Classes | |
struct | T_NODE |
Coordinates of a grid node. More... | |
struct | T_CONSVARS |
Conserved variables. All quantities are in SI units. More... | |
struct | T_PRIMVARS |
Primitive variables. All quantities are in SI units. More... | |
struct | T_DEPVARS |
Dependent variables (inviscid flow). All quantities are in SI units. More... | |
struct | T_VISCDEPVARS |
Additional dependent variables for viscous flow. All quantities are in SI units. More... | |
Macros | |
#define | EPSGLO DBL_EPSILON |
#define | ABS fabs |
#define | SQRT sqrt |
#define | SIN sin |
#define | COS cos |
#define | POW pow |
#define | TAN tan |
#define | ATAN2 atan2 |
#define | LOG10 log10 |
#define | PI 3.1415926535897932 |
#define | PI2 1.5707963267948966 |
#define | RAD 1.7453292519943296e-2 |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | SIGN(a, b) (((b) < (0)) ? (-a) : (a)) |
Typedefs | |
typedef double | REAL |
typedef struct T_NODE | NODE |
Coordinates of a grid node. | |
typedef struct T_CONSVARS | CONSVARS |
Conserved variables. All quantities are in SI units. | |
typedef struct T_PRIMVARS | PRIMVARS |
Primitive variables. All quantities are in SI units. | |
typedef struct T_DEPVARS | DEPVARS |
Dependent variables (inviscid flow). All quantities are in SI units. | |
typedef struct T_VISCDEPVARS | VISCDEPVARS |
Additional dependent variables for viscous flow. All quantities are in SI units. | |
Enumerations | |
enum | FlowType { External, Internal } |
Types of fluid flow. | |
enum | Equations { Euler, NavierStokes } |
Kind of equations solved. | |
enum | TimeStepping { Local, Global } |
Kind of time-stepping. | |
Global definitions, structures and macros.
#define EPSGLO DBL_EPSILON |
tolerance for a small number
typedef double REAL |
floating-point value