1 #ifndef CPPAD_CG_DAE_EQUATION_INFO_HPP 2 #define CPPAD_CG_DAE_EQUATION_INFO_HPP 45 int assignedVarIndex_;
56 assignedVarIndex_(-1),
64 bool explicitEq =
false) :
66 originalIndex_(originalIndex),
67 antiDerivative_(derivativeOf),
68 assignedVarIndex_(assignedVarIndex),
69 explicit_(explicitEq) {
81 inline void setId(
size_t id) {
85 inline int getAntiDerivative()
const {
86 return antiDerivative_;
89 inline void setAntiDerivative(
int derivativeOf) {
90 antiDerivative_ = derivativeOf;
93 inline int getAssignedVarIndex()
const {
94 return assignedVarIndex_;
97 inline void setAssignedVarIndex(
int assignedVarIndex) {
98 assignedVarIndex_ = assignedVarIndex;
101 inline int getOriginalIndex()
const {
102 return originalIndex_;
105 inline bool isExplicit()
const {
109 inline void setExplicit(
bool explicitEq) {
110 explicit_ = explicitEq;