Module for parameters of the flare equilibrium type
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=lmax_char), | protected | :: | equi_flare_type | = | FLARE_TYPE_EQUI3D |
Flare equilibrium type, available: - FLARE_TYPE_EQUI3D = 'equi3d' (default) - FLARE_TYPE_EQUI2D_GEQDSK = 'geqdsk' |
|
| character(len=lmax_char), | protected | :: | boundary_flare_type | = | 'none' |
Type for boundary description, available: - 'none' (default) - 'kisslinger' |
|
| character(len=lmax_char), | protected | :: | rho_flare_type | = | 'none' |
Type for flux surface (rho) description, available: - 'none' (default) - 'kisslinger' |
|
| integer, | protected | :: | spline_order | = | 4 |
Order for spline interpolation |
|
| character(len=lmax_char), | protected | :: | bspline_data | = | FLARE_BSPLINE3D_MAGNETIC_FIELD |
Data type to be interpolated, available: - FLARE_BSPLINE3D_MAGNETIC_FIELD = 'magnetic_field' (default) - FLARE_BSPLINE3D_VECTOR_POTENTIAL = 'vector_potential' |
|
| real(kind=FP), | protected | :: | scale_bt | = | 1.0_FP |
Scaling factor for toroidal field |
|
| real(kind=FP), | protected | :: | scale_ip | = | 1.0_FP |
Scaling factor for current |
|
| real(kind=FP), | protected, | dimension(nmax_amplitudes) | :: | amplitudes | = | 0.0_FP |
Amplitudes for flare_equi3d |
| character(len=3), | protected | :: | flare_units_system | = | 'SI' |
Units used internally in flare equilibria, available - 'SI' (default) - 'CGS' |
|
| real(kind=FP), | protected | :: | rhomin | = | 0.0_FP |
rho value of inner limiting flux surface |
|
| real(kind=FP), | protected | :: | rhomax | = | 1.0_FP |
rho value of outer limiting flux surface |
|
| character(len=lmax_char), | protected | :: | flare_equi3d_path_mgrid |
Path to mgrid file for equi3d |
|||
| character(len=lmax_char), | protected | :: | flare_equi3d_path_axis |
Path to magnetic axis file for equi3d |
|||
| character(len=lmax_char), | protected | :: | flare_geqdsk_path |
Path to eqdsk file for GEQDSK |
|||
| integer, | protected | :: | nbnd_seg |
Number of boundary segments |
|||
| character(len=lmax_char), | protected, | dimension(nmax_bnds) | :: | bnd_paths | = | '' |
Paths to files containing boundary segments |
| integer, | protected, | dimension(nmax_bnds) | :: | bnd_symms | = | 0 |
Symmetry of boundary segments - 0: no symmetry (default) - 1: tilt symmetry |
| character(len=lmax_char), | protected | :: | flare_rho_dirpath | = | '' |
Path to directory containing flux surface files |
|
| character(len=lmax_char), | protected | :: | flare_rho_prefix | = | '' |
File prefix of flux surface files |
|
| integer, | protected | :: | rho_symms | = | 0 |
Symmetry of flux surfaces - 0: no symmetry (default) - 1: tilt symmetry |
Reads the equi_params_flare_type namelist from the given file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
Filepath to parameterfile |
Writes the equi_params_flare_type namelist
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in), | optional | :: | filename |
If present, filename, where to write, otherwise writes parameters to stdout |
Reads parameters for a specific equilibrium type of flare
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
Filepath to parameterfile |
Writes parameters for a specific equilibrium type of flare
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in), | optional | :: | filename |
If present, filename, where to write, otherwise writes parameters to stdout |
Reads parameters for describing boundary segments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
Filepath to parameterfile |
Writes parameters for describing boundary segments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in), | optional | :: | filename |
If present, filename, where to write, otherwise writes parameters to stdout |
Reads parameters for describing flux surfaces *rho)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
Filepath to parameterfile |
Writes parameters for describing rho segments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in), | optional | :: | filename |
If present, filename, where to write, otherwise writes parameters to stdout |