scalar_from_json Subroutine

public impure elemental subroutine scalar_from_json(self, name, json_str, path)

Uses

  • proc~~scalar_from_json~~UsesGraph proc~scalar_from_json ScalarProperty%scalar_from_json iso_fortran_env iso_fortran_env proc~scalar_from_json->iso_fortran_env

Setup a scalar property from a provided json key and json file path.

Type Bound

ScalarProperty

Arguments

Type IntentOptional Attributes Name
class(ScalarProperty), intent(inout) :: self
character(len=*), intent(in) :: name

Property name. Should be the key in the json file.

character(len=*), intent(in) :: json_str

json file relative path to executable.

character(len=*), intent(in), optional :: path

json file relative path to executable.


Calls

proc~~scalar_from_json~~CallsGraph proc~scalar_from_json ScalarProperty%scalar_from_json get get proc~scalar_from_json->get initialize initialize proc~scalar_from_json->initialize load_file load_file proc~scalar_from_json->load_file proc~open_json open_json proc~scalar_from_json->proc~open_json proc~open_json->initialize proc~open_json->load_file failed failed proc~open_json->failed

Called by

proc~~scalar_from_json~~CalledByGraph proc~scalar_from_json ScalarProperty%scalar_from_json proc~from_json~2 CriticalConstants%from_json proc~from_json~2->proc~scalar_from_json proc~init_json init_json proc~init_json->proc~from_json~2 interface~substance Substance interface~substance->proc~init_json

Variables

Type Visibility Attributes Name Initial
type(json_file), public :: json