WriteDensity

Back to parameter list

Normally, hydrodynamic variables are written at each output in the output directory (see OutputDir) with an extension that specifies the output number. For instance, the initial surface density is written in 'gasdens0.dat', then the first output is written in 'gasdens1.dat', the second one in 'gasdens2.dat', etc. If one sets WriteDensity  to NO or FALSE, all density outputs are written to 'gasdens0.dat', which is thus overwritten at each output. Therefore, setting this parameter to NO does not save disk writing time, but it may be useful in case of low disk quota, or when one is not interested in the surface density evolution. Also, having the hydrodynamics fields of the last output always written to a file allows to perform a restart.