MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Functions/Subroutines | Variables
mod_gimli Module Reference

Module for reading in Legolas .ldat data as initial condition. More...

Functions/Subroutines

subroutine read_legolas_data (legolas_file, file_id)
 
subroutine allocate_arrays (gridpts)
 
subroutine add_perturbation_to_w_array (ixil, ixol, w, w_index, x)
 
subroutine init_gimli_indices ()
 
subroutine w_index_to_array (w_index, array)
 
subroutine ef_amplitude (x, grid, array, amplitude)
 
subroutine analytics_log
 
pure double precision function magnetic (w_vec, w_size)
 
subroutine get_minmax_temperature (tmax, tmin)
 
subroutine get_max_velocity (vmax)
 
subroutine get_max_b (b1max, b2max, b3max)
 

Variables

integer, parameter dp = real64
 
integer idirmin0
 
integer idirmin
 
complex(dp), parameter ic = (0.0d0, 1.0d0)
 
integer ef_gridpts
 
real(dpk2
 
real(dpk3
 
integer mhd_bool
 
real(dp), dimension(:), allocatable ef_grid
 
complex(dp), dimension(:), allocatable rho
 
complex(dp), dimension(:), allocatable v1
 
complex(dp), dimension(:), allocatable v2
 
complex(dp), dimension(:), allocatable v3
 
complex(dp), dimension(:), allocatable p
 
complex(dp), dimension(:), allocatable b1
 
complex(dp), dimension(:), allocatable b2
 
complex(dp), dimension(:), allocatable b3
 
integer rho_idx
 
integer p_idx
 
integer, dimension(:), allocatable mom_idx
 
integer, dimension(:), allocatable mag_idx
 

Detailed Description

Module for reading in Legolas .ldat data as initial condition.

Function/Subroutine Documentation

◆ add_perturbation_to_w_array()

subroutine mod_gimli::add_perturbation_to_w_array ( integer, intent(in)  ixi,
integer, intent(in)  l,
integer, intent(in)  ixo,
  l,
real(dp), dimension(ixi^s, nw), intent(inout)  w,
integer, intent(in)  w_index,
real(dp), dimension(ixi^s, ndim), intent(in)  x 
)

Definition at line 87 of file mod_gimli.t.

Here is the call graph for this function:

◆ allocate_arrays()

subroutine mod_gimli::allocate_arrays ( integer, intent(in)  gridpts)

Definition at line 74 of file mod_gimli.t.

◆ analytics_log()

subroutine mod_gimli::analytics_log

Definition at line 193 of file mod_gimli.t.

Here is the call graph for this function:

◆ ef_amplitude()

subroutine mod_gimli::ef_amplitude ( real(dp), intent(in)  x,
real(dp), dimension(ef_gridpts), intent(in)  grid,
complex(dp), dimension(ef_gridpts), intent(in)  array,
complex(dp), intent(out)  amplitude 
)

Definition at line 162 of file mod_gimli.t.

◆ get_max_b()

subroutine mod_gimli::get_max_b ( double precision, intent(out)  b1max,
double precision, intent(out)  b2max,
double precision, intent(out)  b3max 
)

Definition at line 332 of file mod_gimli.t.

◆ get_max_velocity()

subroutine mod_gimli::get_max_velocity ( double precision, intent(out)  vmax)

Definition at line 300 of file mod_gimli.t.

◆ get_minmax_temperature()

subroutine mod_gimli::get_minmax_temperature ( double precision, intent(out)  tmax,
double precision, intent(out)  tmin 
)

Definition at line 260 of file mod_gimli.t.

◆ init_gimli_indices()

subroutine mod_gimli::init_gimli_indices

Definition at line 106 of file mod_gimli.t.

◆ magnetic()

pure double precision function mod_gimli::magnetic ( double precision, dimension(w_size), intent(in)  w_vec,
integer, intent(in)  w_size 
)

Definition at line 250 of file mod_gimli.t.

◆ read_legolas_data()

subroutine mod_gimli::read_legolas_data ( character(len=100), intent(in)  legolas_file,
integer, intent(in)  file_id 
)

Definition at line 35 of file mod_gimli.t.

Here is the call graph for this function:

◆ w_index_to_array()

subroutine mod_gimli::w_index_to_array ( integer, intent(in)  w_index,
complex(dp), dimension(ef_gridpts), intent(inout)  array 
)

Definition at line 126 of file mod_gimli.t.

Here is the call graph for this function:

Variable Documentation

◆ b1

complex(dp), dimension(:), allocatable mod_gimli::b1

Definition at line 26 of file mod_gimli.t.

◆ b2

complex(dp), dimension(:), allocatable mod_gimli::b2

Definition at line 27 of file mod_gimli.t.

◆ b3

complex(dp), dimension(:), allocatable mod_gimli::b3

Definition at line 28 of file mod_gimli.t.

◆ dp

integer, parameter mod_gimli::dp = real64

Definition at line 12 of file mod_gimli.t.

◆ ef_grid

real(dp), dimension(:), allocatable mod_gimli::ef_grid

Definition at line 20 of file mod_gimli.t.

◆ ef_gridpts

integer mod_gimli::ef_gridpts

Definition at line 17 of file mod_gimli.t.

◆ ic

complex(dp), parameter mod_gimli::ic = (0.0d0, 1.0d0)

Definition at line 15 of file mod_gimli.t.

◆ idirmin

integer mod_gimli::idirmin

Definition at line 13 of file mod_gimli.t.

◆ idirmin0

integer mod_gimli::idirmin0

Definition at line 13 of file mod_gimli.t.

◆ k2

real(dp) mod_gimli::k2

Definition at line 18 of file mod_gimli.t.

◆ k3

real(dp) mod_gimli::k3

Definition at line 18 of file mod_gimli.t.

◆ mag_idx

integer, dimension(:), allocatable mod_gimli::mag_idx

Definition at line 31 of file mod_gimli.t.

◆ mhd_bool

integer mod_gimli::mhd_bool

Definition at line 19 of file mod_gimli.t.

◆ mom_idx

integer, dimension(:), allocatable mod_gimli::mom_idx

Definition at line 31 of file mod_gimli.t.

◆ p

complex(dp), dimension(:), allocatable mod_gimli::p

Definition at line 25 of file mod_gimli.t.

◆ p_idx

integer mod_gimli::p_idx

Definition at line 30 of file mod_gimli.t.

◆ rho

complex(dp), dimension(:), allocatable mod_gimli::rho

Definition at line 21 of file mod_gimli.t.

◆ rho_idx

integer mod_gimli::rho_idx

Definition at line 30 of file mod_gimli.t.

◆ v1

complex(dp), dimension(:), allocatable mod_gimli::v1

Definition at line 22 of file mod_gimli.t.

◆ v2

complex(dp), dimension(:), allocatable mod_gimli::v2

Definition at line 23 of file mod_gimli.t.

◆ v3

complex(dp), dimension(:), allocatable mod_gimli::v3

Definition at line 24 of file mod_gimli.t.