Class UpdateScheduler


  • public class UpdateScheduler
    extends Object
    Author:
    cl
    • Constructor Detail

      • UpdateScheduler

        public UpdateScheduler​(Simulation simulation)
    • Method Detail

      • initialize

        public void initialize()
      • getMoleculeFraction

        public double getMoleculeFraction()
      • nextEpoch

        public void nextEpoch()
      • shutdownExecutorService

        public void shutdownExecutorService()
      • addModule

        public void addModule​(UpdateModule module)
      • getNumberOfModules

        public int getNumberOfModules()
      • getSimulation

        public Simulation getSimulation()
      • interrupt

        public boolean interrupt()
        Returns true if the calling module was the first to call the method, therefore being allowed to optimize the time step.
        Returns:
        True if the calling module was the first to call the method.
      • isSkipDisplacementChecks

        public boolean isSkipDisplacementChecks()
      • setSkipDisplacementChecks

        public void setSkipDisplacementChecks​(boolean skipDisplacementChecks)