isDone method

bool isDone(
  1. double time
)

Returns true if both simulations are done at the given time.

Implementation

bool isDone(double time) {
  assert(isPhysicsBased(),
      "isDone(time) is only available for physics-based simulations.");
  return _xSim.isDone(time) && _ySim.isDone(time);
}