Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Public Member Functions | |
character(len=:) function, allocatable | json_key_fallback_string (json, lookup, fallback) |
Create a json_string based on fallback logic. If the lookup key is present in the json object, return it. If the fallback key is present in the json object, return it. Otherwise, return the lookup key. | |
type(json_file) function, pointer | json_key_fallback_json (lookup_json, fallback_json, key) |
Create a json object based on fallback logic. If the key is present in the lookup json object, point to this object. If the key is present in the fallback json object, point to this object. Otherwise, point to the lookup object. | |
Definition at line 13 of file json_utils_ext.f90.
type(json_file) function, pointer json_utils_ext::json_key_fallback::json_key_fallback_json | ( | type(json_file), intent(inout), target | lookup_json, |
type(json_file), intent(inout), target | fallback_json, | ||
character(len=*), intent(in) | key | ||
) |
Definition at line 44 of file json_utils_ext.f90.
character(len=:) function, allocatable json_utils_ext::json_key_fallback::json_key_fallback_string | ( | type(json_file), intent(inout) | json, |
character(len=*), intent(in) | lookup, | ||
character(len=*), intent(in) | fallback | ||
) |
Definition at line 24 of file json_utils_ext.f90.