Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
json_utils.f90 File Reference

Go to the source code of this file.

Data Types

interface  json_utils::json_get
 Retrieves a parameter by name or throws an error. More...
 
interface  json_utils::json_get_or_default
 Retrieves a parameter by name or assigns a provided default value. In the latter case also adds the missing paramter to the json. More...
 
interface  json_utils::json_extract_item
 

Modules

module  json_utils
 Utilities for retrieving parameters from the case files.
 

Functions/Subroutines

subroutine json_utils::json_get_real (json, name, value)
 Retrieves a real parameter by name or throws an error.
 
subroutine json_utils::json_get_double (json, name, value)
 Retrieves a double precision real parameter by name or throws an error.
 
subroutine json_utils::json_get_integer (json, name, value)
 Retrieves an integer parameter by name or throws an error.
 
subroutine json_utils::json_get_logical (json, name, value)
 Retrieves a logical parameter by name or throws an error.
 
subroutine json_utils::json_get_string (json, name, value)
 Retrieves a string parameter by name or throws an error.
 
subroutine json_utils::json_get_real_array (json, name, value)
 Retrieves a real array parameter by name or throws an error.
 
subroutine json_utils::json_get_double_array (json, name, value)
 Retrieves a real array parameter by name or throws an error.
 
subroutine json_utils::json_get_integer_array (json, name, value)
 Retrieves a integer array parameter by name or throws an error.
 
subroutine json_utils::json_get_logical_array (json, name, value)
 Retrieves a logical array parameter by name or throws an error.
 
subroutine json_utils::json_get_string_array (json, name, value, filler)
 Retrieves a string array parameter by name or throws an error.
 
subroutine json_utils::json_get_subdict (json, key, output)
 Extract a sub-object from a json object.
 
subroutine json_utils::json_get_or_default_real (json, name, value, default)
 Retrieves a real parameter by name or assigns a provided default value. In the latter case also adds the missing paramter to the json.
 
subroutine json_utils::json_get_or_default_double (json, name, value, default)
 Retrieves a real parameter by name or assigns a provided default value. In the latter case also adds the missing paramter to the json.
 
subroutine json_utils::json_get_or_default_integer (json, name, value, default)
 Retrieves an integer parameter by name or assigns a provided default value. In the latter case also adds the missing paramter to the json.
 
subroutine json_utils::json_get_or_default_logical (json, name, value, default)
 Retrieves a logical parameter by name or assigns a provided default value. In the latter case also adds the missing paramter to the json.
 
subroutine json_utils::json_get_or_default_string (json, name, value, default)
 Retrieves a string parameter by name or assigns a provided default value. In the latter case also adds the missing paramter to the json.
 
subroutine json_utils::json_extract_item_from_array (core, array, i, item)
 Extract ith item from a JSON array as a separate JSON object.
 
subroutine json_utils::json_extract_item_from_name (json, name, i, item)
 Extract ith item from a JSON array as a separate JSON object.
 
subroutine, public json_utils::json_extract_object (json, name, object)
 Extract object as a separate JSON dictionary.