cbx.utils.history.track_x#

class cbx.utils.history.track_x[source]#

Bases: track

Class for tracking of variable ‘x’ in the history dictionary.

static init_history(dyn)[source]#

Initializes the value to be tracked in the history dictionary of the given dyn object.

Parameters:

dyn (object) – The object to track in the history dictionary.

Return type:

None

static update(dyn)[source]#

Update the history of the ‘x’ variable by copying the current particles to the next time step.

Parameters:

dyn (object) – The object to track in the history dictionary.

Return type:

None