Load the boundary/initial conditions from the JSON file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_input), | intent(inout) | :: | self |
module subroutine inout_read_conditions(self) !> Load the boundary/initial conditions from the JSON file implicit none class(type_input), intent(inout) :: self type(json_file) :: json call json%initialize() call json%load(filename=self%conditions_file_name) call json%print_error_message(output_unit) call read_conditions_time_control(self, json) call read_conditions_boundary_conditions(self, json) call read_conditions_initial_conditions(self, json) call json%destroy() call json%print_error_message(output_unit) end subroutine inout_read_conditions