Program listing for file control/src/utils/ControlLinearAdditionalTermsED.hpp

Program listing for file control/src/utils/ControlLinearAdditionalTermsED.hpp#

 1#include "ExtraAdditionalTerms.hpp"
 2
 3struct ControlLinearAdditionalTermsED : ExtraAdditionalTerms
 4{
 5
 6private:
 7
 8  ACCEPT_SERIALIZATION(ControlLinearAdditionalTermsED);
 9
10public:
11
12
13  virtual void init(DynamicalSystemsGraph& DSG0, const NonSmoothDynamicalSystem& nsds, const TimeDiscretisation & td);
14
15
16  virtual void addSmoothTerms(DynamicalSystemsGraph& DSG0, const DynamicalSystemsGraph::VDescriptor& dsgVD, const double t, SiconosVector& xdot);
17
18
19  virtual void addJacobianRhsContribution(DynamicalSystemsGraph& DSG0, const DynamicalSystemsGraph::VDescriptor& dsgVD, const double t, SiconosMatrix& jacRhs);
20
21};