GlobalExporter

class GlobalExporter<T, P : Position<P>>(val exporters: List<Exporter<T, P>>) : OutputMonitor<T, P>

Aggregates and delegates to multiple exporters selected in the configuration file. Implements the OutputMonitor interface and delegates the export phase to each internal exporter.

Type Parameters

T

the concentration type

P

the position type

Constructors

Link copied to clipboard
constructor(exporters: List<Exporter<T, P>>)

Properties

Link copied to clipboard

the list of exporters to delegate to

Functions

Link copied to clipboard
open override fun finished(environment: Environment<T, P>, time: Time, step: Long)

Called once the whole simulation has finished, either because it reached its latest point or because the user stopped it, with the environment, the final time, and the last step.

Link copied to clipboard
open override fun initialized(environment: Environment<T, P>)

Called as soon as the initialization phase of environment is completed.

Link copied to clipboard
open override fun stepDone(environment: Environment<T, P>, reaction: Reaction<T>?, time: Time, step: Long)

Called every time a simulation step is done, with the environment, the last executed reaction (if any), the current time, and the current step.