Struct FwdSimWorkspace
Defined in File forwardproblem.h
Struct Documentation
-
struct FwdSimWorkspace
The FwdSimWorkspace class is used to store temporary simulation state during forward simulations.
Public Functions
Public Members
-
SolutionState sol
Current solution state
-
AmiVectorArray sdx
differential sensitivity state vector array (dimension: nx_cl x nplist, row-major)
-
std::vector<int> roots_found
Array of flags indicating which root has been found.
Array of length nr (ne) with the indices of the user functions gi found to have a root. For i = 0, … ,nr 1 or -1 if gi has a root, and = 0 if not. See CVodeGetRootInfo for details.
-
EventQueue pending_events
Events that are waiting to be handled at the current timepoint.
-
std::vector<realtype> rval_tmp
temporary rootval storage to check crossing in secondary event (dimension: ne)
-
std::vector<int> nroots
array of number of found roots for a certain event type (dimension: ne)
-
SolutionState sol