Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
json_utils_ext Module Reference

Functions/Subroutines

character(len=:) function, allocatable, public json_key_fallback (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.
 
subroutine, public json_get_subdict (json, key, output)
 Extract a sub-object from a json object.
 
type(json_file) function, public json_read_file (filename)
 Read a json file taking mpi into account. This function reads a json file and broadcasts it to all ranks. @params[in] filename The name of the file to read.
 

Function/Subroutine Documentation

◆ json_get_subdict()

subroutine, public json_utils_ext::json_get_subdict ( type(json_file), intent(inout json,
character(len=*), intent(in key,
type(json_file), intent(out output 
)

Definition at line 36 of file json_utils_ext.f90.

Here is the caller graph for this function:

◆ json_key_fallback()

character(len=:) function, allocatable, public json_utils_ext::json_key_fallback ( type(json_file), intent(inout json,
character(len=*), intent(in lookup,
character(len=*), intent(in fallback 
)

Definition at line 19 of file json_utils_ext.f90.

Here is the caller graph for this function:

◆ json_read_file()

type(json_file) function, public json_utils_ext::json_read_file ( character(len=*), intent(in filename)
Returns
The json object.

Definition at line 64 of file json_utils_ext.f90.

Here is the caller graph for this function: