Equation constructor

Equation(
  1. Body bi,
  2. Body bj, [
  3. double minForce = -1e6,
  4. double maxForce = 1e6,
])

Implementation

Equation(this.bi, this.bj, [this.minForce = -1e6, this.maxForce = 1e6]) {
  id = Equation.idCounter++;
  setSpookParams(1e7, 4, 1 / 60); // Set typical spook params
}