Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_input) | :: | self | ||||
type(json_file), | intent(inout) | :: | json |
JSON parser |
subroutine read_conditions_initial_conditions(self, json) implicit none class(type_input) :: self type(json_file), intent(inout) :: json !! JSON parser character(:), allocatable :: key if (self%basic%analysis_controls%calculate_thermal) then key = join([initial_conditions, thermal]) call read_conditions_initial_conditions_thermal(self%conditions%initial_conditions%thermal, json, key, & self%conditions%num_boundaries) end if if (self%basic%analysis_controls%calculate_hydraulic) then key = join([initial_conditions, hydraulic]) call read_conditions_initial_conditions_hydraulic(self%conditions%initial_conditions%hydraulic, json, key, & self%conditions%num_boundaries) end if key = join([initial_conditions, porosity]) call read_conditions_initial_conditions_porosity(self%conditions%initial_conditions%porosity, json, key, & self%conditions%num_boundaries) end subroutine read_conditions_initial_conditions