0.6.0
Loading...
Searching...
No Matches
mod_output_convergence_file::t_json_convergence Type Reference
+ Inheritance diagram for mod_output_convergence_file::t_json_convergence:

Public Member Functions

procedure add_convergence (json, quantity_type, quantity, label)
 Add a convergence entry in the JSON file.
 
- Public Member Functions inherited from mod_json_writer::t_json
generic write write
 Write JSON file.
 
 formatted (json, unit, iotype, v_list, iostat, iomsg)
 
generic up (json)
 Return to parent object.
 
generic add (json, key, integer_value)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, double_value)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, string_value)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, boolean_value)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, integer_array)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, double_array)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, string_array)
 Add item (integer, double, string, boolean, null) or array.
 
generic add (json, key, boolean_array)
 Add item (integer, double, string, boolean, null) or array.
 
procedure add_object (json, key)
 Add an empty object.
 
procedure add_array (json, key)
 Add an empty array.
 
procedure finalize (json)
 Unalloc the structure.
 
final json_finalize (json)
 Destructor.
 

Additional Inherited Members

- Public Attributes inherited from mod_json_writer::t_json
integer indent_length = 3
 Indentation length (default 3)
 

Member Function/Subroutine Documentation

◆ add_convergence()

procedure mod_output_convergence_file::t_json_convergence::add_convergence ( class(t_json_convergence), intent(inout) json,
character(len=*), intent(in) quantity_type,
double precision, intent(in) quantity,
character(len=*), intent(in) label )

Add a convergence entry in the JSON file.

Example of output for quantity_type = "R", quantity = 1d0, and label = "label":

: {
: true,
: 1.0
}
Parameters
[in,out]jsonJSON file.
[in]quantity_typeType of quantity "R" (use Richardson's extrapolation) or "D".
[in]labelName of the quantity.

The documentation for this type was generated from the following file: