DISPATCH
|
Simple initical condition module for tests. More...
Data Types | |
type | initial_t |
Functions/Subroutines | |
subroutine | init (self, solver, gamma1) |
Setup a uniform initial state, with density=d0 and B=B0. | |
subroutine | raw (self, m, ff, idx) |
Initialize from a raw data file, assumed to contain isothermal data, in the order rho, Ux, Uy, Uz. | |
subroutine | energy (self, m, idx, ff) |
Calculate total energy. | |
subroutine | raw (self, m, ff, idx) |
Initialize from a raw data file. | |
Variables | |
real, dimension(:,:,:,:), pointer, save | buffer => null() |
logical, save | first_time =.true. |
Simple initical condition module for tests.
This is a start on a module that could become a general turbulence forcing module, where the standard forcing we have been using in RAMSES is implemented.
Note that the isothermal and gamma parameters are communicated from the solver via the hydro_parameters module.