Homec4science
Diffusion Gear 68acf5d1271a

We have now fixed the problem of energy related to the use of the new flags…

Authored by revaz on Nov 30 2012, 10:37.

Description

We have now fixed the problem of energy related to the use of the new flags DYNCHRONIZE_NGB_TIMESTEP TIMESTEP_UPDATE_FOR_FEEDBACK IMPROVED_TIMESTEP_CRITERION_FORGAS

In cooling.c, CoolingForOne as been strongly
modified and can still be improved. Now all
tests concerning the Entropy and EntropyPred are done
directely in CoolingForOne.

In sigvel.c, we now correctely count the cooling
energy (in kickback), thanks to DtEnergyRad.

In timestep.c, now, when the cooling is used, all
checks concerning the Entropy and EntropyPred are done
directely in CoolingForOne. This avoid loss of energy.

cosmictime.c
We have added a new function that allows to convert
Cosmic time to Scaling factor and vice versa.
In order to use it in begrun.c, we have added:

init_full_cosmictime_table();

We also added a python interfaces for those functions.

We added a new python intrface for cooling

The new routines designed to use cooling hdf5 files are
now included in lambda_depraz.c and are activated with the flag
LAMBDA_DEPRAZ

Details

Committed
revazNov 30 2012, 10:37
Pushed
revazFeb 12 2017, 23:38
Parents
rGEAR13557606a6f2: only some printf removed.
Branches
Unknown
Tags
Unknown