Struct DEStateView
Defined in File newton_solver.h
Struct Documentation
-
struct DEStateView
A non-owning container that groups references to the dynamical state of differential equation system.
It’s intended to passing around the current state of a system while avoiding repetitive argument passing in function signatures.
Public Functions
-
inline DEStateView(realtype &t_, AmiVector &x_, AmiVector &dx_)
Construct a DEStateView from references to state, derivative, and time.
- Parameters:
t_ – Reference to the simulation time.
x_ – Reference to the state vector.
dx_ – Reference to the state derivative.
-
inline DEStateView(SolutionState &sol)
Construct a DEStateView from a SolutionState reference.
- Parameters:
sol –
-
inline DEStateView(realtype &t_, AmiVector &x_, AmiVector &dx_)