Class ModelContext
Defined in File rdata.h
Inheritance Relationships
Base Type
public amici::ContextManager
(Class ContextManager)
Class Documentation
-
class amici::ModelContext : public amici::ContextManager
The ModelContext temporarily stores amici::Model::state and restores it when going out of scope.
Public Functions
-
ModelContext &operator=(const ModelContext &other) = delete
-
~ModelContext()
-
void restore()
Restore original state on constructor-supplied amici::Model. Will be called during destruction. Explicit call is generally not necessary.
-
ModelContext &operator=(const ModelContext &other) = delete