28 type(model_state_type),
target,
intent(inout) :: current_state
31 current_state%scalar_stepping = centred_stepping
32 current_state%momentum_stepping = centred_stepping
42 type(model_state_type),
target,
intent(inout) :: current_state
44 current_state%field_stepping = centred_stepping
45 if (current_state%timestep .eq. current_state%start_timestep) current_state%field_stepping = forward_stepping
Determines the current stepping direction, which can be either forward or centred. This is mainly for field stepping, which is u, v, w fields but also scalars as well which is th and q.
integer, parameter, public forward_stepping
subroutine initialisation_callback(current_state)
Sets the scalar stepping on initialisation. This does not change throughout the model run so we can s...
The ModelState which represents the current state of a run.
integer, parameter, public centred_stepping
Stepping parameter values which determine centred or forward stepping.
Description of a component.
Interfaces and types that MONC components must specify.
type(component_descriptor_type) function, public steppingdirection_get_descriptor()
Returns the descriptor of this component.
subroutine timestep_callback(current_state)
Determines whether we are forward or centre stepping.
The model state which represents the current state of a run.