...
function [density, ion_found] = extract_ion_densities (profiles, Z)
Extracts Extract densities of all charge states of an ion species from the core_profiles IDS.
Name | Type | Description |
---|---|---|
density |
1D float array | the array elements with the numbers 1, ..., Z hold the densities of the corresponding charge states; the element Z+1 hold the neutral density |
ion_found | boolean |
equals to false if the ion with the given Z is missing | ||
profiles | struct | time slice of the AoS core_profiles.profiles_1d |
Z |
float | charge number of the nucleus |
function [AOS_index] = find_source (sources, dictionary_index)
Finds Find location of the element with a given data dictionary index in an AOS (in particular, the source in core_sources.source and the process in radiation.process).
Name | Type | Description |
---|---|---|
AOS_index | int | index of the required element in the array |
sources | struct | AoS where the search is performed |
dictionary_index | int | DD index of the required element |
function index = find_species (species_list, label)
Finds Find location of the species element with a given label in AoS. The function is used to find the required spruttering coefficient in the 'wall' IDS. The label is the chemical element label; it is hold in the 'label' leaf of each AoS element.
Name | Type | Description |
---|---|---|
index | int | index of the required element in the array |
species_list | struct | AoS where the search is performed |
label | symbol array | label of the required element |
DYON input
Description of the scripts processing the DYON input (to be done).
...