Derived Types

TypeLocationExtendsDescription
abstract_config_typeabstract_configNone

Define abstract type to represent the config type, allows common code to be moved here

accel_layout_typegs2_layoutsNone

FIXME : Add documentation

accelx_layout_typegs2_layoutsNone

FIXME : Add documentation

advanced_parameters_typegeometryNone

FIXME : Add documentation

ballstab_config_typeballstababstract_config_type

Used to represent the input configuration of ballstab

cell_typefields_localNone

This is the next level up of data and represents the cell type. A cell has a unique it,ik pair and represents all the fields/field eq on the extended domain for the given it/ik

cell_typefields_gf_localNone

This is the next level up of data and represents the cell type. A cell has a unique it,ik pair and represents all the fields/field eq on the extended domain for the given it/ik

ceq_testing_typeceqNone

Expose private routines for testing only!

coefficients_typegeometryNone

These are functions of theta that are output by the geometry module

collisions_config_typecollisionsabstract_config_type

Used to represent the input configuration of collisions

comm_typempNone

A simple object for storing details of a communicator

connections_typedist_fnNone
constant_coefficients_typegeometryNone

These are coefficients that are constant on a flux surface

dcell_typefields_implicitNone

FIXME : Add documentation

dens_vel_diagnosticsgs2_heatingNone

Density-velocity perturbations

diagnostics_ascii_typediagnostics_asciiNone

Holds integers corresponding to the ascii output units

diagnostics_base_config_typediagnostics_base_configabstract_config_type

Used to represent the input configuration of gs2_diagnostics. This is the version used by the original diagnostics module.

diagnostics_dimension_list_typediagnostics_dimensionsNone

This type is a container for all the specific dimension instances

diagnostics_dimension_typediagnostics_dimensionsNone

This type is used to describe a single dimension

diagnostics_init_options_typegs2_diagnostics_newNone

FIXME : Add documentation

diagnostics_typediagnostics_configNone

A type for storing the diagnostics configuration, a reference to the output file, and current results of the simulation

dist_fn_config_typedist_fnabstract_config_type

Used to represent the input configuration of dist_fn

dist_fn_species_config_typedist_fnabstract_config_type

Used to represent the input configuration of dist_fn_species. There should be one of this namelist for each species simulated.

driver_config_typeantennaabstract_config_type

Used to represent the input configuration of driver. See the documentation of the antenna module for more details.

e_layout_typelayouts_typeNone

FIXME : Add documentation

EigNetcdfIDgs2_saveNone

A custom type to look after the netcdf ids for the eigenvalue file

eikcoefs_outputgeometryNone

A type to hold a collection of geometrical quantities as calculated by eikcoefs

exit_codeexit_codesNone

Type providing an exit code and message text for exit reasons

f_layout_typegs2_layoutsNone

FIXME : Add documentation

fft_typefft_workNone
field_matrix_typefields_implicitNone

FIXME : Add documentation

fieldmat_typefields_localNone

This is the top level object, consisting of a collection of ky blocks.

fieldmat_typefields_gf_localNone

This is the top level object, consisting of a collection of ky blocks. Currently only support: 0 : Invert the field matrix In the future may wish to do things like LU decomposition etc. Could also do things like eigenvalue analysis etc.

fields_config_typefieldsabstract_config_type

Used to represent the input configuration of fields

fields_local_testingfields_localNone

Public type allowing tests to access otherwise-private routines

flux_surfaceleqNone

Private helper type to wrap up some module-level variables

g_layout_typelayouts_typeNone

FIXME : Add documentation

gf_layout_typelayouts_typeNone

FIXME : Add documentation

gryfx_parameters_typegs2_gryfx_zonalNone

FIXME : Add documentation

gs2_config_typeconfig_collectionNone
gs2_diagnostics_config_typegs2_diagnosticsdiagnostics_base_config_type
gs2_gryfx_zonal_typenonlinear_termsNone

FIXME : Add documentation

gs2_outputs_typegs2_mainNone

A type for storing outputs of gs2 for access externally

gs2_program_state_typegs2_mainNone

The object which specifies and records the gs2 program state. Some attributes of the object, like mp_comm_external, are designed to directly manipulated by the user, and some are designed to store program state information and be manipulated internally, like init\%level.

gs2_timers_typegs2_mainNone

FIXME : Add documentation

heating_diagnosticsgs2_heatingNone

FIXME : Add documentation

hyper_config_typehyperabstract_config_type

Used to represent the input configuration of hyper

ikitlayouts_typeNone

FIXME : Add documentation

ikitprocslayouts_typeNone

FIXME : Add documentation

index_list_typeredistributeNone

FIXME : Add documentation

index_mapredistributeNone

FIXME : Add documentation

ingen_config_typeingen_modabstract_config_type

Used to represent the input configuration of ingen

init_config_typegs2_initabstract_config_type

Used to represent the input configuration of init

init_g_config_typeinit_gabstract_config_type

Used to represent the input configuration of init_g

init_level_list_typegs2_initNone

A type for labelling the different init levels available in gs2.

init_typegs2_initNone

A type for storing the current initialization status, as well as all the overrides.

initial_values_overrides_typeoverridesNone

A type for storing overrides of the intial values of the fields and distribution function. This override is different to all the others, because in order to minimise memory usage and disk writes, this override is used internally during the simulation, and its values can thus change over the course of the simulation. In contrast, no other overrides are modified by running gs2. Also, depending on the value of in_memory, the override values will either be taken from the the arrays within the object, or from the restart files. If you want to externally modify the initial field and dist fn values, you need to use in_memory = .true. If you just want to use this override to allow you to reinitialise the equations and start from the same values, you can use either memory or restart files. If you want to want to change the number of processors and then reinitialise and then use this override you must use in_memory = .false., because currently the memory is allocated on a processor by processor basis. Changing grid sizes and then using this override is not supported. This one is too complicated to generate automatically

jf_layout_typegs2_layoutsNone

FIXME : Add documentation

knobs_config_typerun_parametersabstract_config_type

Used to represent the input configuration of run_parameters through "knobs"

kt_grids_box_config_typekt_grids_boxabstract_config_type

Used to represent the input configuration of kt_grids_box

kt_grids_config_typekt_gridsabstract_config_type

Used to represent the input configuration of kt_grids

kt_grids_overrides_typeoverridesNone

A type for containing overrides to the perpendicular grids (x and y).

kt_grids_range_config_typekt_grids_rangeabstract_config_type

Used to represent the input configuration of kt_grids_range

kt_grids_single_config_typekt_grids_singleabstract_config_type

Used to represent the input configuration of kt_grids_single

kt_grids_specified_config_typekt_grids_specifiedabstract_config_type

Used to represent the input configuration of kt_grids_specified

kt_grids_specified_element_config_typekt_grids_specifiedabstract_config_type

Used to represent the input configuration of a specific specified wavenumber pair

ky_typefields_localNone

This is the next level up of data and represents the ky type. A ky block consists of a number of supercells

ky_typefields_gf_localNone

This is the next level up of data and represents the ky type. A ky block consists of a number of supercells

layouts_config_typegs2_layoutsabstract_config_type

Used to represent the input configuration of layouts

le_grids_config_typele_gridsabstract_config_type

Used to represent the input configuration of le_grids

le_layout_typelayouts_typeNone

FIXME : Add documentation

leq_testing_typeleqNone

Expose private routines for testing only!

lz_layout_typelayouts_typeNone

FIXME : Add documentation

matrix_inversion_method_typemat_invNone

A simple wrapper type around an integer to represent different inversion methods. We could consider deriving from this and binding the specific inversion methods to the type, but that is perhaps more complication than required.

miller_geometry_overrides_typeoverridesNone

An object for overriding all or selected Miller geometry parameters.

miller_parameters_typegeometryNone

FIXME : Add documentation

mt19937_typemt19937None

Mersenne-Twister object. Allows multiple, independent instances to be used within a program

new_gs2_diagnostics_config_typediagnostics_configdiagnostics_base_config_type
nonlinear_terms_config_typenonlinear_termsabstract_config_type

Used to represent the input configuration of nonlinear_terms

nonlinear_terms_testingnonlinear_termsNone

Public type allowing tests to access otherwise-private routines

normalisations_config_typenormalisationsabstract_config_type

Used to represent the input configuration of normalisations. These values are not used for anything but will be written to the output file to aid post processing etc.

norms_typenormalisationsNone

Define a type to hold the set of normalisations, we could imagine extending this in the future to provide a normalise/denormalise routine which can be used to automatically convert quantities

optimisation_config_typeoptimisation_configabstract_config_type

Used to represent the input configuration for GS2's optimisation procedure. When turned on, GS2 performs a scan for the given input file, varying different optimisation flags. Results of this scan are reported in .optim. The optimal parameters are stored, allowing a user to run the same input file with optimised parameters in the same execution. A user can also choose to continue with a less-than-optimal set of parameters which satisfy other constraints.

optimisation_results_typeoptimisation_configNone
optimisation_typeoptimisation_configNone

A type for storing the optimisation configuration, the results

optimisations_overrides_typeoverridesNone

A type for containing overrides to the processor layout and optimisation flags for gs2.

p_layout_typelayouts_typeNone

FIXME : Add documentation

parameter_scan_config_typeparameter_scanabstract_config_type

Used to represent the input configuration of parameter_scan

parameters_config_typerun_parametersabstract_config_type

Used to represent the input configuration of run_parameters through "parameters"

Read more…
pc_typefields_localNone

This is the type which controls/organises the parallel data decomposition etc.

pc_typefields_gf_localNone

This is the type which controls/organises the parallel data decomposition etc. the local fields. This may impact diagnostics/parallel writing as it means only the processors gf_lo local section of the fields are evolved on this processor.

Read more…
periodic_splinesplinesNone

Holds data representing a periodic spline. Should be set up by calling new_periodic_spline.

proc_layout_typeingen_modNone

FIXME : Add documentation

profiles_overrides_typeoverridesNone

An object for overriding all or selected profile parameters, for example species temps, densities or gradients or the flow gradient or mach number. Note that all species parameters are arrays of size nspec and you must set the override switches individually for each species.

redist_typeredistributeNone

FIXME : Add documentation

reg_typeregressionNone

FIXME : Add documentation

reinit_config_typegs2_reinitabstract_config_type

Used to represent the input configuration of reinit

results_summary_typediagnostics_configNone

A type for storing the current results of the simulation

rowblock_typefields_localNone

This is the lowest level of data object and will hold the actual data involved with the field matrix

rowblock_typefields_gf_localNone

This is the lowest level of data object and will hold the actual data involved with the field matrix

runtime_info_typeruntime_testsNone

Type providing information about the code version, compiler, build environment etc

sdatio_dimensionsimpledataioNone
sdatio_filesimpledataioNone
sdatio_variablesimpledataioNone
shm_info_tshm_mpi3None

FIXME : Add documentation

shm_node_pointers_tshm_mpi3None

FIXME : Add documentation

source_config_typedist_fnabstract_config_type

Used to represent the input configuration of source

speciespeciesNone

FIXME : Add documentation

species_config_typespeciesabstract_config_type

Used to represent the input configuration of species

species_element_config_typespeciesabstract_config_type

Used to represent the input configuration of species

splinesplinesNone

Holds data representing a non-periodic spline. Should be set up by calling new_spline.

standard_header_typestandard_headerNone

A header for files and output.

Read more…
stir_config_typeantennaabstract_config_type

Used to represent the input configuration of stir. See the documentation of the antenna module for more details.

supercell_typefields_localNone

This is the next level up of data and represents the supercell type. A supercell represents a collection of connected cells

supercell_typefields_gf_localNone

This is the next level up of data and represents the supercell type. A supercell represents a collection of connected cells

text_optiontext_optionsNone

FIXME : Add documentation

theta_grid_config_typetheta_gridabstract_config_type

Used to represent the input configuration of theta_grid

theta_grid_eik_config_typetheta_grid_eikabstract_config_type

Used to represent the input configuration of theta_grid

theta_grid_file_config_typetheta_grid_fileabstract_config_type

Used to represent the input configuration of theta_grid

theta_grid_gridgen_config_typetheta_grid_gridgenabstract_config_type

Used to represent the input configuration of theta_grid_gridgen

theta_grid_parameters_config_typetheta_grid_paramsabstract_config_type

Used to represent the input configuration of theta_grid. Sets a number of parameters used by the different theta grid implementations. Not all parameters are active for a given theta grid type.

theta_grid_salpha_config_typetheta_grid_salphaabstract_config_type

Used to represent the input configuration of theta_grid_salpha

timestep_overrides_typeoverridesNone

A type for containing overrides to the timestep and the cfl parameters

xxf_layout_typegs2_layoutsNone

FIXME : Add documentation

yxf_layout_typegs2_layoutsNone

FIXME : Add documentation