...
Name | Type | Description |
---|---|---|
output | struct | structure containing the DYON output to be saved |
H_mass | float | mass of the H isotope (in units of the proton mass) |
machine | symbol array | name of the IMAS database (usually a tokamak name) |
shot | int | shot number |
run | int | run number |
comment | symbol array | comment characterizing the data to be saved data (put into each IDS) |
data_source | symbol array | text describing the origin of the data (put into each IDS) |
...
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 species are selected in the array of structures by their labels (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:
Element | Ion label | Ion index | Neutral label | Neutral index |
---|---|---|---|---|
H | H | 1 | - | - |
Be | Be | 2 | Be0 | 1 |
C | C | 3 | C0 | 2 |
N | N | 4 | N0 | 3 |
O | O | 5 | O0 | 4 |
He | He | 6 | He0 | 5 |
Ne | Ne | 7 | Ne0 | 6 |
Here ion label and ion index are the label and the index of the species in the core_profiles.profiles1d.ion AoS (array of structures), respectively.
The following functions support I/O with the 'core_profiles' IDS:????????
function put_core_profiles (output, H_mass, idx, comment, data_source, imas_version, access_layer)
Name | Type | Description |
---|---|---|
output | struct | structure containing the DYON output to be saved |
H_mass | float | mass of the H isotope (in units of the proton mass) |
idx | int | the data entry identifies |
comment | symbol array | comment characterizing the data to be saved |
data_source | symbol array | text describing the origin of the data |
function [output, comment, data_source, imas_version, access_layer] = ...
get_core_profiles (output, idx, get_time)
...