Termination criteria

class rmgpy.solver.TerminationTime(time=(0.0, 's'))

Represent a time at which the simulation should be terminated. This class has one attribute: the termination time in seconds.

class rmgpy.solver.TerminationConversion(spec=None, conv=0.0)

Represent a conversion at which the simulation should be terminated. This class has two attributes: the species to monitor and the fractional conversion at which to terminate.

class rmgpy.solver.TerminationRateRatio(ratio=0.01)

Represent a fraction of the maximum characteristic rate of the simulation at which the simulation should be terminated. This class has one attribute the ratio between the current and maximum characteristic rates at which to terminate