A derived type used to hold the inputs to the geo initialisation routine. By encapsulating all possible inputs in this type we can avoid having to have multiple initialisation interfaces which all types have to define.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=EQFILE_LENGTH), | public | :: | eqfile | = | 'EQFILE_NOT_SET' |
Filename to read in for equilibria based on reading a file |
|
integer, | public | :: | big | = | -1 |
Upsampling factor used in efit, dfit and gs2d cases |
|
character(len=EQFILE_LENGTH), | public | :: | eqnormfile | = | ' EQNORMFILE_NOT_SET' |
File containing normalisation factors for dfit |
|
real, | public, | dimension(:), allocatable | :: | theta |
Target theta grid used for ideq |
||
type(flux_surface_type), | public | :: | surf |
Used for analytic local equiliria |
|||
real, | public | :: | thShift |
Theta shift used in analytic local equiliria |
type :: geo_input_type
!> Filename to read in for equilibria based on reading a file
character(len = EQFILE_LENGTH) :: eqfile = 'EQFILE_NOT_SET'
!> Upsampling factor used in efit, dfit and gs2d cases
integer :: big = -1
!> File containing normalisation factors for dfit
character(len = EQFILE_LENGTH) :: eqnormfile = ' EQNORMFILE_NOT_SET'
!> Target theta grid used for ideq
real, dimension(:), allocatable :: theta
!> Used for analytic local equiliria
type(flux_surface_type) :: surf
!> Theta shift used in analytic local equiliria
real :: thShift
end type geo_input_type