Demonstration of the initial-value solver. A uniform isothermal medium in Cartesian geometry with a Gaussian density perturbation centred in the domain. This is the simplest possible IVP setup and is intended as a reference example.
Note
Default values are:
IVP mode is enabled by default. Relevant parfile settings: @code{fortran} &physicslist physics_type = "isothermal-1d" / &ivplist enabled = .true. t_end = 5.0 n_steps = 500 n_snapshots = 50 / @endcode
Gaussian density perturbation centred at x = 0.5.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | x(:) |
Derivative of the Gaussian density perturbation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | x(:) |
Sets the equilibrium.
| 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 | |||
| type(initial_conditions_t), | intent(inout) | :: | iv_initial_conditions |