smod_equil_adiabatic_homo Submodule

This submodule defines a simple, adiabatic homogeneous medium in Cartesian geometry. The geometry can be overridden using the parfile.

Note

Default values are given by

  • k2 = 0
  • k3 =
  • cte_rho0 = 1 : used to set the density value.
  • cte_T0 = 1 : used to set the temperature value.
  • cte_B02 = 0 : used to set the By value.
  • cte_B03 = 1 : used to set the Bz value.

and can all be changed in the parfile.



Functions

function rho0()

Arguments

None

Return Value real(kind=dp)

function T0()

Arguments

None

Return Value real(kind=dp)

function B02()

Arguments

None

Return Value real(kind=dp)

function B03()

Arguments

None

Return Value real(kind=dp)


Module Procedures

module procedure /home/runner/work/legolas/legolas/docs/ford/module/smod_equil_adiabatic_homo.html adiabatic_homo_eq module subroutine adiabatic_homo_eq(settings, grid, background, physics)

Sets the equilibrium.

Arguments

Type IntentOptional 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