19#ifndef MILUPHPC_PARAMETER_H 
   20#define MILUPHPC_PARAMETER_H 
   39#ifdef SINGLE_PRECISION 
   68#define power_two(x) (1 << (x)) 
   70#define POW_DIM power_two(DIM) 
   76#define CUBIC_DOMAINS 1 
   85#define INTEGRATE_ENERGY 0 
   88#define INTEGRATE_DENSITY 1 
   91#define INTEGRATE_SML 0 
  100#define SML_CORRECTION 0 
  111#define SPH_EQU_VERSION 1 
  114#define ARTIFICIAL_VISCOSITY 1 
  117#define AVERAGE_KERNELS 0 
  118#define DEAL_WITH_TOO_MANY_INTERACTIONS 0 
  119#define SHEPARD_CORRECTION 0 
  121#define NAVIER_STOKES 0 
  122#define ARTIFICIAL_STRESS 0 
  124#define ZERO_CONSISTENCY 0 
  125#define LINEAR_CONSISTENCY 0 
  126#define FRAGMENTATION 0 
  127#define PALPHA_POROSITY 0 
  129#define KLEY_VISCOSITY 0 
  131#define KEY_MAX ULONG_MAX 
  134#define MAX_NUM_INTERACTIONS 180 
  135#define NUM_THREADS_LIMIT_TIME_STEP 256 
  136#define NUM_THREADS_CALC_CENTER_OF_MASS 256 
  140#define COURANT_FACT 0.4 
  142#define FORCES_FACT 0.2 
  145#define DBL_MAX dbl_max; 
  150    constexpr real G = 6.67430e-11;
 
constexpr real G
Gravitational constant.
 
__device__ real max(real a, real b)
Maximum value out of two floating point values.
 
EquationOfStates
implemented equation of states
 
double real
Precision of simulation.
 
struct SimulationParameters SimulationParameters
 
@ EOS_TYPE_LOCALLY_ISOTHERMAL_GAS
 
@ EOS_TYPE_ISOTHERMAL_GAS
 
@ EOS_TYPE_POLYTROPIC_GAS
 
Available space-filling curves.
 
Execution location (host/device).
 
@ predictor_corrector_euler
 
IntegratorSelection(Type t)
 
remove particles in dependence of some criterion bool removeParticles
 
bool loadBalancing
apply load balancing
 
std::string logDirectory
log file(s) directory
 
real theta
clumping parameter/
 
real maxTimeStep
max (allowed) time step
 
real removeParticlesDimension
 
int loadBalancingInterval
apply load balancing each x interval/simulation step
 
real timeEnd
end time of simulation
 
std::string materialConfigFile
input file containing material configurations/parameters
 
std::string directory
output file(s) directory
 
gravitational smoothing real smoothing
 
int outputRank
specify a (MPI) rank for console logging (default: -1 logging all ranks)
 
calculate the angular momentum bool calculateAngularMomentum
 
bool particlesSent2H5
log particles sent to HDF5 file
 
bool calculateCenterOfMass
 
bool timeKernels
time the CUDA kernels
 
bool performanceLog
log performance to HDF5 file
 
std::string inputFile
input file containing initial particle distribution
 
int numOutputFiles
number of output files
 
gravitational force version to be used int gravityForceVersion
 
int verbosity
verbosity level
 
int sphFixedRadiusNNVersion
 
int integratorSelection
integrator selection
 
int sfcSelection
space-filling curve selection
 
int removeParticlesCriterion
 
real particleMemoryContingent
 
calculate the energy bool calculateEnergy
 
domain list possible number of domain list nodes int domainListSize
 
SPH smoothing kernel selection int smoothingKernelSelection
 
(SPH) available smoothing kernels.
 
Specify target: device or host.