Needed for NetCDF et al.
Needed for NetCDF et al. TODO: explain better
The += operator adds a process to the group.
(Unimplemented) The -= operator removes a process from the group.
Automatically annotate the process with its software name and version
Automatically annotate the process with its software name and version
Add a StepHandler to the list
Add an annotation
Add an annotation
Override the BaseProcess.apply method because we take on responsibility for calling the step handlers.
Override the BaseProcess.apply method because we take on responsibility for calling the step handlers.
the time at the beginning of the step
the size of the step (delta-t)
a list of dimensions and their size/index
a list of dimensions and their size/index
Override finish hook by calling all of our children's before our own
Override finish hook by calling all of our children's before our own
Parses a JSON string and adds all variable definitions that it finds to this VarContainer.
Parses a JSON string and adds all variable definitions that it finds to this VarContainer.
the Seq
of added variables.
Override init hook by calling all of our children's before our own
Override init hook by calling all of our children's before our own
the time at the beginning of the simulation
the name of the process
the name of the process
The list of child processes
Override reset hook by calling all of our children's before our own
Override reset hook by calling all of our children's before our own
the new time
The scheduler
All variables defined in this BaseProcess
.
All variables defined in this BaseProcess
.
The BaseProcess.step method of the BaseProcess interface calls the Scheduler on the list of processes together with the group state table and time parameters.
The BaseProcess.step method of the BaseProcess interface calls the Scheduler on the list of processes together with the group state table and time parameters.
the size of the step (delta-t)
the list of handlers that run after each step
the list of handlers that run after each step
Creates a JSON string with all variables in this VarContainer.
Creates a JSON string with all variables in this VarContainer.
A
ProcessGroup
is a list of BaseProcesses and a Scheduler. It presents the same interface as a BaseProcess and so hierarchies of them can be built.It is typically created like so