FMS 2025.01.02-dev
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 |
interface | yaml_out_add_level2key_c |
Adds a level 2 key (key that starts new tabbed section) to the list. yaml_out_add_level2key (wrapper routine) should be used instead. More... | |
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, public | yaml_out_add_level2key (key_name, keytype) |
Adds a level 2 key (key that starts new tabbed section) to the list. Will print level 2 keys in the order added. See write_yaml_from_struct_3 for more details. This routine is a wrapper for yaml_out_add_level2key_c . | |
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.
Public 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.
Public 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.
Public Member Functions | |
subroutine | write_yaml_from_struct_3 (yamlname, a1size, keys, vals, a2size, key2, val2, a3size, a3each, key3, val3, lvl2keyeach) |
interface fms_yaml_output_mod::yaml_out_add_level2key_c |
Adds a level 2 key (key that starts new tabbed section) to the list. yaml_out_add_level2key (wrapper routine) should be used instead.
Definition at line 141 of file fms_yaml_output.F90.
Public Member Functions | |
subroutine | yaml_out_add_level2key_c (key_length, key_name, keytype) |
subroutine, public 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 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.
subroutine write_yaml_from_struct_3 | ( | character (c_char) | yamlname, |
integer (c_int), value | a1size, | ||
type (fmsyamloutkeys_type), dimension(a1size) | keys, | ||
type (fmsyamloutvalues_type), dimension(a1size) | vals, | ||
integer (c_int), value | a2size, | ||
type (fmsyamloutkeys_type), dimension(a2size) | key2, | ||
type (fmsyamloutvalues_type), dimension(a2size) | val2, | ||
integer (c_int), value | a3size, | ||
integer (c_int), dimension (a2size) | a3each, | ||
type (fmsyamloutkeys_type), dimension(a3size) | key3, | ||
type (fmsyamloutvalues_type), dimension(a3size) | val3, | ||
integer (c_int), dimension(lvl2_key_parameter) | lvl2keyeach | ||
) |
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.
subroutine, public yaml_out_add_level2key | ( | character(len=*) | key_name, |
type(fmsyamloutkeys_type), intent(inout) | keytype | ||
) |
Adds a level 2 key (key that starts new tabbed section) to the list. Will print level 2 keys in the order added. See write_yaml_from_struct_3 for more details. This routine is a wrapper for yaml_out_add_level2key_c .
Definition at line 155 of file fms_yaml_output.F90.
subroutine yaml_out_add_level2key_c | ( | integer(c_int), value | key_length, |
character(c_char), intent(in) | key_name, | ||
type(fmsyamloutkeys_type), intent(inout) | keytype | ||
) |
[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.
character (c_char), dimension (string_len_parameter) key1 |
Definition at line 79 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key10 |
Definition at line 88 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key11 |
Definition at line 89 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key12 |
Definition at line 90 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key13 |
Definition at line 91 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key14 |
Definition at line 92 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key15 |
Definition at line 93 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key16 |
Definition at line 94 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key2 |
Definition at line 80 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key3 |
Definition at line 81 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key4 |
Definition at line 82 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key5 |
Definition at line 83 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key6 |
Definition at line 84 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key7 |
Definition at line 85 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key8 |
Definition at line 86 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) key9 |
Definition at line 87 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter * lvl2_key_parameter) level2key |
Definition at line 95 of file fms_yaml_output.F90.
integer(c_int) level2key_offset |
Definition at line 96 of file fms_yaml_output.F90.
|
private |
Max number of strings to be stored in lvl2keys Must match whats in yaml_output_functions.c.
Definition at line 73 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val1 |
Definition at line 100 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val10 |
Definition at line 109 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val11 |
Definition at line 110 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val12 |
Definition at line 111 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val13 |
Definition at line 112 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val14 |
Definition at line 113 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val15 |
Definition at line 114 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val16 |
Definition at line 115 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val2 |
Definition at line 101 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val3 |
Definition at line 102 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val4 |
Definition at line 103 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val5 |
Definition at line 104 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val6 |
Definition at line 105 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val7 |
Definition at line 106 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val8 |
Definition at line 107 of file fms_yaml_output.F90.
character (c_char), dimension (string_len_parameter) val9 |
Definition at line 108 of file fms_yaml_output.F90.