Versions Compared

Key

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

...

The quantities stored in this IDS include electron and ion temperatures, densities of electrons, several ion species and several neutral species, loop voltage, and plasma current. Although all these quantities are represented by single values, most of them are stored as 1D-profiles on the formal grid consisting of a single point. When the ion and neutral densities are recovered from the IDS, the ion species are selected in the array of structures by their labels charge numbers (not by their places in the array). This is done to permit more flexibility if the set of the ions simulated by the code changes. At present, the storage of ion quantities in the IDS is organized as follows:

...

Extracts densities of all charge states of an ion species from the core_profiles IDS.

NameTypeDescription
densitystruct?????structure containing the emissivity and properties of the neutral species
ion_foundbooleanlabel of the chemical element
profilesstructAoS core_profiles.profiles_1d ????ion mass number
Zfloatcharge number of the nucleus




function [AOS_index] = find_source (sources, dictionary_index)

...