forsus_properties_scalar Module


Uses

  • module~~forsus_properties_scalar~~UsesGraph module~forsus_properties_scalar forsus_properties_scalar json_module json_module module~forsus_properties_scalar->json_module module~forsus_constants forsus_constants module~forsus_properties_scalar->module~forsus_constants module~forsus_properties_base forsus_properties_base module~forsus_properties_scalar->module~forsus_properties_base iso_fortran_env iso_fortran_env module~forsus_constants->iso_fortran_env

Used by

  • module~~forsus_properties_scalar~~UsedByGraph module~forsus_properties_scalar forsus_properties_scalar module~forsus_properties forsus_properties module~forsus_properties->module~forsus_properties_scalar module~forsus_properties_critical_constants forsus_properties_critical_constants module~forsus_properties->module~forsus_properties_critical_constants module~forsus_properties_critical_constants->module~forsus_properties_scalar module~forsus forsus module~forsus->module~forsus_properties module~forsus_substance forsus_substance module~forsus->module~forsus_substance module~forsus_substance->module~forsus_properties

Derived Types

type, public, extends(Property) ::  ScalarProperty

Scalar property.

Read more…

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: name

Property’s name

character(len=:), public, allocatable :: units

Units

real(kind=pr), public :: value

Property value

Type-Bound Procedures

procedure, public :: from_json => scalar_from_json

Subroutines

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

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

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.