[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = 0;
ydot[1] = 0;
- ydot[2] = (b - y[2]) / eps;
+ ydot[2] = -y[2] / eps;
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = a - (y[2] + 1) * y[0] + y[1] * y[0] * y[0];
ydot[1] = y[2] * y[0] - y[1] * y[0] * y[0];
- ydot[2] = -y[2] * y[0];
+ ydot[2] = b / eps - y[2] * y[0];
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = 0;
ydot[1] = 0;
- ydot[2] = (b - y[2]) / eps;
+ ydot[2] = -y[2] / eps;
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = a - (y[2] + 1) * y[0] + y[1] * y[0] * y[0];
ydot[1] = y[2] * y[0] - y[1] * y[0] * y[0];
- ydot[2] = -y[2] * y[0];
+ ydot[2] = b / eps - y[2] * y[0];
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = 0;
ydot[1] = 0;
- ydot[2] = (b - y[2]) / eps;
+ ydot[2] = -y[2] / eps;
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = a - (y[2] + 1) * y[0] + y[1] * y[0] * y[0];
ydot[1] = y[2] * y[0] - y[1] * y[0] * y[0];
- ydot[2] = -y[2] * y[0];
+ ydot[2] = b / eps - y[2] * y[0];
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = 0;
ydot[1] = 0;
- ydot[2] = (b - y[2]) / eps;
+ ydot[2] = -y[2] / eps;
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = a - (y[2] + 1) * y[0] + y[1] * y[0] * y[0];
ydot[1] = y[2] * y[0] - y[1] * y[0] * y[0];
- ydot[2] = -y[2] * y[0];
+ ydot[2] = b / eps - y[2] * y[0];
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = 0;
ydot[1] = 0;
- ydot[2] = (b - y[2]) / eps;
+ ydot[2] = -y[2] / eps;
return 0;
};
[&](double, const VectorType &y, VectorType &ydot) -> int {
ydot[0] = a - (y[2] + 1) * y[0] + y[1] * y[0] * y[0];
ydot[1] = y[2] * y[0] - y[1] * y[0] * y[0];
- ydot[2] = -y[2] * y[0];
+ ydot[2] = b / eps - y[2] * y[0];
return 0;
};