Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Read the part of the command file that controls saving the EIRENE data to the equilibrium IDS.

Argument

Type

Intent

Description

equilibrium_files

type(equilibrium_file_set)

result

structure holding the file names obtained from the command file

io_unitintegerinindex of the I/O unit attached to the command file


function collect_data_for_equilibrium_input (equilibrium_files) result (equilibrium_data)

...

Uses the subroutine read_quantity_from_file (module eirene_data_io).

Argument

Type

Intent

Description

equilibrium_data

type(equilibrium_data_set)

result

structure that accepts the data read from the files

equilibrium_filestype(equilibrium_file_set)instructure that holds the file names


subroutine transform_equilibrium_for_ids (equilibrium_data)

Transform the magnetic field data to the form suitable for the equilibrium IDS. On entry, only a part of the 'equilibrium_data' structure is filled; the . The subroutine fills the rest.

The input files contain b_x, b_y, b_z (b is the mag. field unit vector), and B_total. The equilibrium IDS accepts B_R, B_Z, B_phi. Here x=R, y=Z (vertical), z=phi (toroidal).

Argument

Type

Intent

Description

equilibrium_data

type(equilibrium_data_set)

inout

structure that holds all magnetic field data



???????????????

Module global_parameters

...