Class FieldSupplier


  • public class FieldSupplier
    extends Object
    The field supplier manages all files required for different behaviours of a module.
    Author:
    cl
    • Method Detail

      • getCurrentUpdatable

        public Updatable getCurrentUpdatable()
        Returns the current updatable.
        Returns:
        The current updatable.
      • setCurrentUpdatable

        public void setCurrentUpdatable​(Updatable updatable)
        Sets the current updatable.
        Parameters:
        updatable - The current updatable.
      • getCurrentSubsection

        public CellSubsection getCurrentSubsection()
        Returns the current subsection.
        Returns:
        The current subsection.
      • setCurrentSubsection

        public void setCurrentSubsection​(CellSubsection subsection)
        Sets the current subsection.
        Parameters:
        subsection - The current subsection.
      • getCurrentEntity

        public ChemicalEntity getCurrentEntity()
        Returns the current chemical entity.
        Returns:
        The current chemical entity.
      • setCurrentEntity

        public void setCurrentEntity​(ChemicalEntity entity)
        Sets the current chemical entity.
        Parameters:
        entity - The current chemical entity.
      • getLargestLocalError

        public NumericalError getLargestLocalError()
        Returns the largest error as of yet.
        Returns:
        the largest error as of yet.
      • setLargestLocalError

        public void setLargestLocalError​(NumericalError largestLocalError)
        Sets the largest error as of yet.
        Parameters:
        largestLocalError - the largest error as of yet.
      • resetError

        public void resetError()
        Resets the error to the minimal error.
      • isStrutCalculation

        public boolean isStrutCalculation()
        Returns the current state of calculations.
        Returns:
        True if currently strut points (half deltas) are calculated.
      • setStrutCalculation

        public void setStrutCalculation​(boolean strutCalculation)
        Sets the current state of calculation.
        Parameters:
        strutCalculation - The current state of calculation.
      • clearDeltas

        public void clearDeltas()
        Clears all full end half deltas.