33 integer :: total_timesteps
35 integer :: current_timestep
37 integer :: completed_timesteps
39 integer :: next_ob_timestep
40 logical :: is_analysis
43 logical :: do_analysis
47 integer,
allocatable,
dimension(:) :: obs_times
63 integer,
intent(in) :: n
65 allocate(tsdata%obs_times(n),stat=st)
67 write(emp_e,*)
'ERROR: allocation of obs_times in timestep data'
68 write(emp_e,*)
'ERROR: STOPPING.'
76 deallocate(tsdata%obs_times)
83 integer,
intent(in) :: obs_num_in_time
84 integer,
intent(in) :: timestep
86 tsdata%obs_times(obs_num_in_time) = timestep
92 integer,
intent(in) :: ob_time
94 tsdata%next_ob_timestep = ob_time
101 integer,
intent(in) :: obs_num_in_time
102 integer,
intent(out) :: timestep
103 timestep = tsdata%obs_times(obs_num_in_time)
109 tsdata%do_analysis = .true.
116 tsdata%do_analysis = .false.
122 tsdata%is_analysis = .true.
128 tsdata%is_analysis = .false.
134 integer,
intent(in) :: t
135 tsdata%completed_timesteps = t
141 integer,
intent(in) :: t
142 tsdata%current_timestep = t
149 integer,
intent(in) :: t
150 tsdata%total_timesteps = t
156 integer,
intent(in) :: pseudotimestep
157 tsdata%tau = pseudotimestep
subroutine timestep_data_allocate_obs_times(n)
subroutine to allocate space for obs_times array
Module that stores the information about the outputting from empire.
subroutine timestep_data_set_completed(t)
subroutine to define the number of completed timesteps
Module that stores the information about the timestepping process.
subroutine timestep_data_set_total(t)
subroutine to define the total number of timesteps that the model will run for
subroutine timestep_data_set_tau(pseudotimestep)
subroutine to define the current number of timesteps between observations
subroutine timestep_data_set_current(t)
subroutine to define the current timestep
subroutine timestep_data_set_do_no_analysis
subroutine to define if the current timestep should not perform an analysis
subroutine timestep_data_set_obs_times(obs_num_in_time, timestep)
subroutine to set the timestep corresponding to the observation number in time
subroutine timestep_data_set_do_analysis
subroutine to define if the current timestep should perform an analysis
subroutine timestep_data_set_next_ob_time(ob_time)
subroutine to set the next observation timestep
subroutine timestep_data_set_is_analysis
subroutine to define if the current ensemble is an analysis
subroutine timestep_data_deallocate_obs_times
subroutine to deallocate obs_times array
subroutine timestep_data_get_obs_times(obs_num_in_time, timestep)
subroutine to extract the timestep corresponding to the observation number in time ...
subroutine timestep_data_set_no_analysis
subroutine to define if the current ensemble is not an analysis