Calls the routine to set the equilibrium pointer, then calls the correct submodule. Performs some sanity checks (negative values, NaNs etc.) when the equilibrium is set, then calls additional physics modules if needed.
Throws appropriate errors if the equilibrium configuration is not balanced, contains NaN or if density/temperature contains negative values.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(settings_t), | intent(inout) | :: | settings | |||
type(grid_t), | intent(inout) | :: | grid | |||
type(background_t), | intent(inout) | :: | background | |||
type(physics_t), | intent(inout) | :: | physics |