0.6.0
Loading...
Searching...
No Matches
mod_output_convergence_file Module Reference

Data Types

type  t_json_convergence
 

Functions/Subroutines

subroutine json_convergence_add_convergence (json, quantity_type, quantity, label)
 Add a convergence entry in the JSON file.
 
subroutine, public output_convergence_file ()
 Write convergence data into a JSON file.
 

Function/Subroutine Documentation

◆ json_convergence_add_convergence()

subroutine mod_output_convergence_file::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.