V3FIT
Functions/Subroutines | Variables
siesta_init Module Reference

Initializes unperturbed siesta fields and pressure in real space. More...

Functions/Subroutines

subroutine, public init_state (lcurrent_only, lpar_in)
 Initialize equilibrium state. More...
 
subroutine init_allocate_arrays (lpar)
 subroutine for allocating unperturbed array
 
subroutine getfields (jbsupsmnh, jbsupumnh, jbsupvmnh, jpmnh, ipari
 Get magnetic field and pressure on the real space mesh. More...
 

Variables

integer nsmin
 
integer nsmax
 
real(dp), dimension(:,:,:), allocatable pfilter
 
real(dp) pedge
 

Detailed Description

Initializes unperturbed siesta fields and pressure in real space.

Function/Subroutine Documentation

◆ getfields()

subroutine siesta_init::getfields ( real (dp), dimension(:,:,:), intent(in), allocatable  jbsupsmnh,
real (dp), dimension(:,:,:), intent(in), allocatable  jbsupumnh,
real (dp), dimension(:,:,:), intent(in), allocatable  jbsupvmnh,
real (dp), dimension(:,:,:), intent(in), allocatable  jpmnh,
  ipari 
)

Get magnetic field and pressure on the real space mesh.

All quantities contain a Jacobian term.

Parameters
[in]jbsupsmnhContravariant B field s component on the half grid.
[in]jbsupumnhContravariant B field u component on the half grid.
[in]jbsupvmnhContravariant B field v component on the half grid.
[in]jpmnhPressure on the half grid.
[in]iparityParity of the quantities.

Definition at line 397 of file siesta_init.f90.

◆ init_state()

subroutine, public siesta_init::init_state ( logical, intent(in)  lcurrent_only,
logical, intent(in), optional  lpar_in 
)

Initialize equilibrium state.

Parameters
[in]lcurrent_onlyOnly update to the current.
[in]lpar_inControls if this is a parallel call or a serial call.

Definition at line 45 of file siesta_init.f90.