FMS
2024.03
Flexible Modeling System
|
Data Types | |
type | fmsyamloutkeys_type |
Keys for the output yaml on a given level corresponding to the struct in yaml_output_functions.c Should be set using the fms_f2c_string routine to get properly formatted c style strings level2keys should be set with add_level2key() More... | |
type | fmsyamloutvalues_type |
Values for the output yaml on a given level corresponding to the struct in yaml_output_functions.c. More... | |
interface | write_yaml_from_struct_3 |
Functions/Subroutines | |
subroutine, public | initialize_key_struct (yk) |
subroutine, public | initialize_val_struct (yv) |
subroutine | write_yaml_from_struct_3 (yamlname, a1size, keys, vals, a2size, key2, val2, a3size, a3each, key3, val3, lvl2keyeach) |
subroutine | yaml_out_add_level2key_c (key_length, key_name, keytype) |
Variables | |
character(c_char), dimension(string_len_parameter) | key1 |
character(c_char), dimension(string_len_parameter) | key10 |
character(c_char), dimension(string_len_parameter) | key11 |
character(c_char), dimension(string_len_parameter) | key12 |
character(c_char), dimension(string_len_parameter) | key13 |
character(c_char), dimension(string_len_parameter) | key14 |
character(c_char), dimension(string_len_parameter) | key15 |
character(c_char), dimension(string_len_parameter) | key16 |
character(c_char), dimension(string_len_parameter) | key2 |
character(c_char), dimension(string_len_parameter) | key3 |
character(c_char), dimension(string_len_parameter) | key4 |
character(c_char), dimension(string_len_parameter) | key5 |
character(c_char), dimension(string_len_parameter) | key6 |
character(c_char), dimension(string_len_parameter) | key7 |
character(c_char), dimension(string_len_parameter) | key8 |
character(c_char), dimension(string_len_parameter) | key9 |
character(c_char), dimension(string_len_parameter *lvl2_key_parameter) | level2key |
integer(c_int) | level2key_offset |
integer, parameter | lvl2_key_parameter = 8 |
Max number of strings to be stored in lvl2keys Must match whats in yaml_output_functions.c. | |
character(c_char), dimension(string_len_parameter) | val1 |
character(c_char), dimension(string_len_parameter) | val10 |
character(c_char), dimension(string_len_parameter) | val11 |
character(c_char), dimension(string_len_parameter) | val12 |
character(c_char), dimension(string_len_parameter) | val13 |
character(c_char), dimension(string_len_parameter) | val14 |
character(c_char), dimension(string_len_parameter) | val15 |
character(c_char), dimension(string_len_parameter) | val16 |
character(c_char), dimension(string_len_parameter) | val2 |
character(c_char), dimension(string_len_parameter) | val3 |
character(c_char), dimension(string_len_parameter) | val4 |
character(c_char), dimension(string_len_parameter) | val5 |
character(c_char), dimension(string_len_parameter) | val6 |
character(c_char), dimension(string_len_parameter) | val7 |
character(c_char), dimension(string_len_parameter) | val8 |
character(c_char), dimension(string_len_parameter) | val9 |
type fms_yaml_output_mod::fmsyamloutkeys_type |
Keys for the output yaml on a given level corresponding to the struct in yaml_output_functions.c Should be set using the fms_f2c_string routine to get properly formatted c style strings level2keys should be set with add_level2key()
Definition at line 78 of file fms_yaml_output.F90.
Private Attributes | |
character(c_char), dimension(string_len_parameter) | key1 |
character(c_char), dimension(string_len_parameter) | key10 |
character(c_char), dimension(string_len_parameter) | key11 |
character(c_char), dimension(string_len_parameter) | key12 |
character(c_char), dimension(string_len_parameter) | key13 |
character(c_char), dimension(string_len_parameter) | key14 |
character(c_char), dimension(string_len_parameter) | key15 |
character(c_char), dimension(string_len_parameter) | key16 |
character(c_char), dimension(string_len_parameter) | key2 |
character(c_char), dimension(string_len_parameter) | key3 |
character(c_char), dimension(string_len_parameter) | key4 |
character(c_char), dimension(string_len_parameter) | key5 |
character(c_char), dimension(string_len_parameter) | key6 |
character(c_char), dimension(string_len_parameter) | key7 |
character(c_char), dimension(string_len_parameter) | key8 |
character(c_char), dimension(string_len_parameter) | key9 |
character(c_char), dimension(string_len_parameter *lvl2_key_parameter) | level2key |
integer(c_int) | level2key_offset |
type fms_yaml_output_mod::fmsyamloutvalues_type |
Values for the output yaml on a given level corresponding to the struct in yaml_output_functions.c.
Definition at line 99 of file fms_yaml_output.F90.
Private Attributes | |
character(c_char), dimension(string_len_parameter) | val1 |
character(c_char), dimension(string_len_parameter) | val10 |
character(c_char), dimension(string_len_parameter) | val11 |
character(c_char), dimension(string_len_parameter) | val12 |
character(c_char), dimension(string_len_parameter) | val13 |
character(c_char), dimension(string_len_parameter) | val14 |
character(c_char), dimension(string_len_parameter) | val15 |
character(c_char), dimension(string_len_parameter) | val16 |
character(c_char), dimension(string_len_parameter) | val2 |
character(c_char), dimension(string_len_parameter) | val3 |
character(c_char), dimension(string_len_parameter) | val4 |
character(c_char), dimension(string_len_parameter) | val5 |
character(c_char), dimension(string_len_parameter) | val6 |
character(c_char), dimension(string_len_parameter) | val7 |
character(c_char), dimension(string_len_parameter) | val8 |
character(c_char), dimension(string_len_parameter) | val9 |
interface fms_yaml_output_mod::write_yaml_from_struct_3 |
Definition at line 120 of file fms_yaml_output.F90.
Private Member Functions | |
subroutine | write_yaml_from_struct_3 (yamlname, a1size, keys, vals, a2size, key2, val2, a3size, a3each, key3, val3, lvl2keyeach) |
subroutine, public fms_yaml_output_mod::initialize_key_struct | ( | type (fmsyamloutkeys_type), intent(inout) | yk | ) |
[in,out] | yk | Instance of the stucture |
Definition at line 162 of file fms_yaml_output.F90.
subroutine, public fms_yaml_output_mod::initialize_val_struct | ( | type (fmsyamloutvalues_type), intent(inout) | yv | ) |
[in,out] | yv | Instance of the stucture |
Definition at line 185 of file fms_yaml_output.F90.
|
private |
yamlname | The output yaml file name |
a1size | The size of the first yaml array |
keys | Top level yaml keys |
vals | Values corresponding to keys |
a2size | The size of the second yaml array |
key2 | Second level keys |
val2 | Values corresponding to key2 |
a3size | The size of the third yaml array |
a3each | Array that has the number of elements for each level 2 key's third level elements. If using multiple lvl2keys, a value must be present for each key. |
key3 | Third level keys |
val3 | Values corresponding to keys2 |
lvl2keyeach | amount of key2 'blocks' to print per level2key in keys |
Definition at line 120 of file fms_yaml_output.F90.
|
private |
[in] | key_name | name of level 2 key (starts a new tabbed section) to add to list |
key_length | length of key_name | |
[in,out] | keytype | struct of keys to output |
Definition at line 141 of file fms_yaml_output.F90.