Stellarator-Tools
Loading...
Searching...
No Matches
siesta_context::siesta_context_class Type Reference

Base class representing a siesta_context. This contains a copy of every variable that is needed to define the SIESTA state. More...

Public Member Functions

FINAL siesta_context_destruct (this)
 Deconstruct a siesta_context_class object.
 
procedure read (this, restart_file_name)
 Read a restart file.
 

Public Attributes

logical l_asym
 Flag indicating that stellarator asymmetric terms are used.
 
integer ns
 Number of radial grid points.
 
integer mpol
 Number of poloidal modes.
 
integer ntor
 Number of toroidal modes.
 
integer, dimension(:), pointer tor_modes => null()
 Toroidal modes.
 
integer nfp
 Number of field periods.
 
real(rprec) p_min
 Minimum pressure.
 
real(rprec) p_max
 Maximum pressure.
 
real(rprec), dimension(:,:,:), pointer pmnch => null()
 Cosine components of the pressure on the half mesh.
 
real(rprec), dimension(:,:,:), pointer pmnsh => null()
 Sine components of the pressure on the half mesh.
 
real(rprec) b_factor
 Normalization factor for magnetic field.
 
real(rprec), dimension(:,:,:), pointer bsupsmnch => null()
 Cosine components of B^s on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsupsmnsh => null()
 Sine components of B^s on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsupumnch => null()
 Cosine components of B^u on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsupumnsh => null()
 Sine components of B^u on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsupvmnch => null()
 Cosine components of B^v on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsupvmnsh => null()
 Sine components of B^v on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsubsmnch => null()
 Cosine components of B_s on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsubsmnsh => null()
 Sine components of B_s on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsubumnch => null()
 Cosine components of B_u on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsubumnsh => null()
 Sine components of B_u on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsubvmnch => null()
 Cosine components of B_v on the half mesh.
 
real(rprec), dimension(:,:,:), pointer bsubvmnsh => null()
 Sine components of B_v on the half mesh.
 
real(rprec), dimension(:,:,:), pointer jksupsmncf => null()
 Cosine components of jK^s on the half mesh.
 
real(rprec), dimension(:,:,:), pointer jksupsmnsf => null()
 Sine components of jK^s on the half mesh.
 
real(rprec), dimension(:,:,:), pointer jksupumncf => null()
 Cosine components of jK^u on the half mesh.
 
real(rprec), dimension(:,:,:), pointer jksupumnsf => null()
 Sine components of jK^u on the half mesh.
 
real(rprec), dimension(:,:,:), pointer jksupvmncf => null()
 Cosine components of jK^v on the half mesh.
 
real(rprec), dimension(:,:,:), pointer jksupvmnsf => null()
 Sine components of jK^v on the half mesh.
 

Detailed Description

Base class representing a siesta_context. This contains a copy of every variable that is needed to define the SIESTA state.

Member Function/Subroutine Documentation

◆ read()

procedure siesta_context::siesta_context_class::read ( class (siesta_context_class), intent(inout)  this,
character (len=*), intent(in)  restart_file_name 
)

Read a restart file.

Loads values from a new restart file.

Parameters
[in,out]thisA siesta_context_class instance.
[in]restart_file_nameFilename of the SIESTA restart file.

◆ siesta_context_destruct()

FINAL siesta_context::siesta_context_class::siesta_context_destruct ( type (siesta_context_class), intent(inout)  this)
final

Deconstruct a siesta_context_class object.

Deallocates memory and uninitializes a siesta_context_class object.

Parameters
[in,out]thisA siesta_context_class instance.

The documentation for this type was generated from the following file: