MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Public Attributes | List of all members
timestep_params Struct Reference
Collaboration diagram for timestep_params:
[legend]

Public Attributes

double ErrTolIntAccuracy
 
int ForceEqualTimesteps
 
double MinSizeTimestep
 
double MaxSizeTimestep
 
double MaxRMSDisplacementFac
 
double MaxGasVel
 
double CourantFac
 

Detailed Description

Definition at line 26 of file timestep.c.

Member Data Documentation

◆ CourantFac

double timestep_params::CourantFac

SPH-Courant factor

Definition at line 46 of file timestep.c.

Referenced by get_timestep_dloga(), and set_timestep_params().

◆ ErrTolIntAccuracy

double timestep_params::ErrTolIntAccuracy

accuracy tolerance parameter \( \eta \) for timestep criterion. The timesteps is \( \Delta t = \sqrt{\frac{2 \eta eps}{a}} \)

Definition at line 30 of file timestep.c.

Referenced by get_timestep_dloga(), and set_timestep_params().

◆ ForceEqualTimesteps

int timestep_params::ForceEqualTimesteps

Definition at line 33 of file timestep.c.

Referenced by find_timesteps(), and set_timestep_params().

◆ MaxGasVel

double timestep_params::MaxGasVel

Definition at line 45 of file timestep.c.

Referenced by do_the_short_range_kick(), and set_timestep_params().

◆ MaxRMSDisplacementFac

double timestep_params::MaxRMSDisplacementFac

this determines a global timestep criterion for cosmological simulations in comoving coordinates. To this end, the code computes the rms velocity of all particles, and limits the timestep such that the rms displacement is a fraction of the mean particle separation (determined from the particle mass and the cosmological parameters). This parameter specifies this fraction.

Definition at line 38 of file timestep.c.

Referenced by get_long_range_timestep_dloga(), and set_timestep_params().

◆ MaxSizeTimestep

double timestep_params::MaxSizeTimestep

maximum allowed timestep

Definition at line 36 of file timestep.c.

Referenced by find_timesteps(), get_long_range_timestep_dloga(), and set_timestep_params().

◆ MinSizeTimestep

double timestep_params::MinSizeTimestep

minimum allowed timestep. Normally, the simulation terminates if the timestep determined by the timestep criteria falls below this limit.

Definition at line 34 of file timestep.c.

Referenced by get_long_range_timestep_dloga(), get_timestep_ti(), and set_timestep_params().


The documentation for this struct was generated from the following file: