#include <limits>#include <iostream>
Include dependency graph for parameter_backup.h:
Go to the source code of this file.
Classes | |
| struct | SimulationParameters |
| struct | To |
| Specify target: device or host. More... | |
| struct | Smoothing |
| (SPH) available smoothing kernels. More... | |
| struct | Execution |
| Execution location (host/device). More... | |
| struct | Curve |
| Available space-filling curves. More... | |
| struct | IntegratorSelection |
| Available integrators. More... | |
| struct | Entry |
Namespaces | |
| namespace | Constants |
| (Physical) constants | |
Macros | |
| #define | MAX_LEVEL 21 |
| maximum tree level More... | |
| #define | UNIT_TESTING 0 |
| compile & dispatch unit tests More... | |
| #define | DEBUGGING 0 |
| enable/disable debugging calculations/outputs More... | |
| #define | SAFETY_LEVEL 2 |
| #define | DIM 3 |
| Dimension of the problem. More... | |
| #define | power_two(x) (1 << (x)) |
| function: \( 2^{x} \) More... | |
| #define | POW_DIM power_two(DIM) |
| \( 2^{DIM} \) which corresponds to the number of children for each node More... | |
| #define | SI_UNITS 1 |
| [0]: natural units, [1]: SI units More... | |
| #define | CUBIC_DOMAINS 1 |
| #define | GRAVITY_SIM 1 |
| Simulation with gravitational forces. More... | |
| #define | SPH_SIM 1 |
| SPH simulation. More... | |
| #define | INTEGRATE_ENERGY 0 |
| integrate energy equation More... | |
| #define | INTEGRATE_DENSITY 1 |
| integrate density equation More... | |
| #define | INTEGRATE_SML 0 |
| integrate smoothing length More... | |
| #define | DECOUPLE_SML 0 |
| decouple smoothing length for pc integrator(s) More... | |
| #define | VARIABLE_SML 1 |
| variable smoothing length More... | |
| #define | SML_CORRECTION 0 |
| correct smoothing length More... | |
| #define | SPH_EQU_VERSION 1 |
| #define | ARTIFICIAL_VISCOSITY 1 |
| #define | AVERAGE_KERNELS 0 |
| #define | DEAL_WITH_TOO_MANY_INTERACTIONS 0 |
| #define | SHEPARD_CORRECTION 0 |
| #define | SOLID 0 |
| #define | NAVIER_STOKES 0 |
| #define | ARTIFICIAL_STRESS 0 |
| #define | POROSITY 0 |
| #define | ZERO_CONSISTENCY 0 |
| #define | LINEAR_CONSISTENCY 0 |
| #define | FRAGMENTATION 0 |
| #define | PALPHA_POROSITY 0 |
| #define | PLASTICITY 0 |
| #define | KLEY_VISCOSITY 0 |
| #define | KEY_MAX ULONG_MAX |
| #define | MAX_DEPTH 128 |
| #define | MAX_NUM_INTERACTIONS 180 |
| #define | NUM_THREADS_LIMIT_TIME_STEP 256 |
| #define | NUM_THREADS_CALC_CENTER_OF_MASS 256 |
| #define | COURANT_FACT 0.4 |
| Courant (CFL) number. More... | |
| #define | FORCES_FACT 0.2 |
| #define | DBL_MAX dbl_max; |
Typedefs | |
| typedef double | real |
| Precision of simulation. More... | |
| typedef int | integer |
| typedef unsigned long | keyType |
| typedef int | idInteger |
| typedef struct SimulationParameters | SimulationParameters |
Enumerations | |
| enum | EquationOfStates { EOS_TYPE_POLYTROPIC_GAS = 0 , EOS_TYPE_ISOTHERMAL_GAS = 3 , EOS_TYPE_IDEAL_GAS = 9 , EOS_TYPE_LOCALLY_ISOTHERMAL_GAS = 12 , EOS_TYPE_POLYTROPIC_GAS = 0 , EOS_TYPE_ISOTHERMAL_GAS = 3 , EOS_TYPE_IDEAL_GAS = 9 , EOS_TYPE_LOCALLY_ISOTHERMAL_GAS = 12 } |
| Implemented equation of states. More... | |
Variables | |
| constexpr real | dbl_max = std::numeric_limits<real>::max() |
| #define ARTIFICIAL_STRESS 0 |
Definition at line 122 of file parameter_backup.h.
| #define ARTIFICIAL_VISCOSITY 1 |
ARTIFICIAL_VISCOSITY is default) Definition at line 114 of file parameter_backup.h.
| #define AVERAGE_KERNELS 0 |
Definition at line 117 of file parameter_backup.h.
| #define COURANT_FACT 0.4 |
Courant (CFL) number.
Definition at line 140 of file parameter_backup.h.
| #define CUBIC_DOMAINS 1 |
Definition at line 76 of file parameter_backup.h.
| #define DBL_MAX dbl_max; |
Definition at line 145 of file parameter_backup.h.
| #define DEAL_WITH_TOO_MANY_INTERACTIONS 0 |
Definition at line 118 of file parameter_backup.h.
| #define DEBUGGING 0 |
enable/disable debugging calculations/outputs
Definition at line 55 of file parameter_backup.h.
| #define DECOUPLE_SML 0 |
decouple smoothing length for pc integrator(s)
Definition at line 94 of file parameter_backup.h.
| #define DIM 3 |
Dimension of the problem.
Definition at line 66 of file parameter_backup.h.
| #define FORCES_FACT 0.2 |
Definition at line 142 of file parameter_backup.h.
| #define FRAGMENTATION 0 |
Definition at line 126 of file parameter_backup.h.
| #define GRAVITY_SIM 1 |
Simulation with gravitational forces.
Definition at line 79 of file parameter_backup.h.
| #define INTEGRATE_DENSITY 1 |
integrate density equation
Definition at line 88 of file parameter_backup.h.
| #define INTEGRATE_ENERGY 0 |
integrate energy equation
Definition at line 85 of file parameter_backup.h.
| #define INTEGRATE_SML 0 |
integrate smoothing length
Definition at line 91 of file parameter_backup.h.
| #define KEY_MAX ULONG_MAX |
Definition at line 131 of file parameter_backup.h.
| #define KLEY_VISCOSITY 0 |
Definition at line 129 of file parameter_backup.h.
| #define LINEAR_CONSISTENCY 0 |
Definition at line 125 of file parameter_backup.h.
| #define MAX_DEPTH 128 |
Definition at line 133 of file parameter_backup.h.
| #define MAX_LEVEL 21 |
maximum tree level
Definition at line 49 of file parameter_backup.h.
| #define MAX_NUM_INTERACTIONS 180 |
Definition at line 134 of file parameter_backup.h.
| #define NAVIER_STOKES 0 |
Definition at line 121 of file parameter_backup.h.
| #define NUM_THREADS_CALC_CENTER_OF_MASS 256 |
Definition at line 136 of file parameter_backup.h.
| #define NUM_THREADS_LIMIT_TIME_STEP 256 |
Definition at line 135 of file parameter_backup.h.
| #define PALPHA_POROSITY 0 |
Definition at line 127 of file parameter_backup.h.
| #define PLASTICITY 0 |
Definition at line 128 of file parameter_backup.h.
| #define POROSITY 0 |
Definition at line 123 of file parameter_backup.h.
\( 2^{DIM} \) which corresponds to the number of children for each node
Definition at line 70 of file parameter_backup.h.
| #define power_two | ( | x | ) | (1 << (x)) |
function: \( 2^{x} \)
Definition at line 68 of file parameter_backup.h.
| #define SAFETY_LEVEL 2 |
SAFETY_LEVEL 0: almost no safety measuresSAFETY_LEVEL 1: most relevant/important safety measuresSAFETY_LEVEL 2: more safety measures, including assertionsSAFETY_LEVEL 3: many security measures, including all assertions Definition at line 63 of file parameter_backup.h.
| #define SHEPARD_CORRECTION 0 |
Definition at line 119 of file parameter_backup.h.
| #define SI_UNITS 1 |
[0]: natural units, [1]: SI units
Definition at line 73 of file parameter_backup.h.
| #define SML_CORRECTION 0 |
correct smoothing length
Definition at line 100 of file parameter_backup.h.
| #define SOLID 0 |
Definition at line 120 of file parameter_backup.h.
| #define SPH_EQU_VERSION 1 |
Choose the SPH representation to solve the momentum and energy equation:
Definition at line 111 of file parameter_backup.h.
| #define SPH_SIM 1 |
SPH simulation.
Definition at line 82 of file parameter_backup.h.
| #define UNIT_TESTING 0 |
compile & dispatch unit tests
Definition at line 52 of file parameter_backup.h.
| #define VARIABLE_SML 1 |
variable smoothing length
Definition at line 97 of file parameter_backup.h.
| #define ZERO_CONSISTENCY 0 |
Definition at line 124 of file parameter_backup.h.
| typedef int idInteger |
Definition at line 46 of file parameter_backup.h.
| typedef int integer |
Definition at line 44 of file parameter_backup.h.
| typedef unsigned long keyType |
Definition at line 45 of file parameter_backup.h.
| typedef double real |
Precision of simulation.
Simulations can be either
SINGLE_PRECISION 1SINGLE_PRECISION 0real corresponds to floating point precision for whole programkeyType influences the maximal tree depthDefinition at line 42 of file parameter_backup.h.
| typedef struct SimulationParameters SimulationParameters |
Simulation parameters.
Some settings/parameters for dispatching simulation.
| enum EquationOfStates |
Implemented equation of states.
Implemented equation of states are:
| Enumerator | |
|---|---|
| EOS_TYPE_POLYTROPIC_GAS | |
| EOS_TYPE_ISOTHERMAL_GAS | polytropic EOS for gas, needs polytropic_K and polytropic_gamma in material.cfg file |
| EOS_TYPE_IDEAL_GAS | this is pure molecular hydrogen at 10 K |
| EOS_TYPE_LOCALLY_ISOTHERMAL_GAS | ideal gas equation, set polytropic_gamma in material.cfg |
| EOS_TYPE_POLYTROPIC_GAS | polytropic EOS for gas, needs polytropic_K and polytropic_gamma in material.cfg file |
| EOS_TYPE_ISOTHERMAL_GAS | this is pure molecular hydrogen at 10 K |
| EOS_TYPE_IDEAL_GAS | ideal gas equation, set polytropic_gamma in material.cfg |
| EOS_TYPE_LOCALLY_ISOTHERMAL_GAS | locally isothermal gas: \( p = c_s^2 \cdot \rho \) |
Definition at line 350 of file parameter_backup.h.
Definition at line 144 of file parameter_backup.h.