26 type(model_state_type),
target,
intent(inout) :: current_state
31 current_state%su%data=0.0_default_precision
34 current_state%sv%data=0.0_default_precision
37 current_state%sw%data=0.0_default_precision
40 if (current_state%sth%active)
then 41 current_state%sth%data=0.0_default_precision
44 do i=1, current_state%number_q_fields
45 current_state%sq(i)%data=0.0_default_precision
Wrapper type for the value returned for a published field from a component.
integer, parameter, public default_precision
MPI communication type which we use for the prognostic and calculation data.
Contains common definitions for the data and datatypes used by MONC.
The ModelState which represents the current state of a run.
Description of a component.
subroutine timestep_callback(current_state)
Timestep callback which simply clears the source terms.
integer, parameter, public component_array_field_type
Clears the source terms at the start of a timestep to then be populated by items in the dynamics grou...
Interfaces and types that MONC components must specify.
type(component_descriptor_type) function, public clearsourceterms_get_descriptor()
Provides a description of this component for the core to register.
The model state which represents the current state of a run.
integer, parameter, public component_double_data_type