DPsim
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
CPS::ODEInterface Class Referenceabstract
Inheritance diagram for CPS::ODEInterface:
[legend]
Collaboration diagram for CPS::ODEInterface:
[legend]

Public Types

using Ptr = std::shared_ptr< ODEInterface >
 
using StSpFn = std::function< void(double, const double *, double *)>
 Use this to pass the individual components StateSpace implementation to the ODESolver class.
 
using JacFn = std::function< void(double, const double *, double *, double *, double *, double *, double *)>
 

Public Member Functions

virtual void odeStateSpace (double t, const double y[], double ydot[])=0
 State Space Equation System for ODE Solver.
 
virtual void odeJacobian (double t, const double y[], double fy[], double J[], double tmp1[], double tmp2[], double tmp3[])=0
 Jacobian Matrix (of State Space System) needed for implicit solve.
 

Public Attributes

const CPS::AttributeList::Ptr mAttributeList
 
const CPS::Attribute< Matrix >::Ptr mOdePreState
 
const CPS::Attribute< Matrix >::Ptr mOdePostState
 

Protected Member Functions

 ODEInterface (AttributeList::Ptr attrList)
 

Detailed Description

Definition at line 16 of file ODEInterface.h.


The documentation for this class was generated from the following file: