Interface IBendingCalculatorModel

All Known Implementing Classes:
DefaultBendingCalculator

public interface IBendingCalculatorModel

IBendingCalculatorModel interface.

Author:
igor@scictrl.com
  • Method Details

    • calcCurrentFromEnergy

      double calcCurrentFromEnergy(double energy)

      calcCurrentFromEnergy.

      Parameters:
      energy - a double
      Returns:
      a double
    • calcCurrentFromQuadrupoleStrength

      double calcCurrentFromQuadrupoleStrength(double gradStrength)

      calcCurrentFromQuadrupoleStrength.

      Parameters:
      gradStrength - a double
      Returns:
      a double
    • calcEnergy

      double calcEnergy(double current)

      calcEnergy.

      Parameters:
      current - a double
      Returns:
      a double
    • calcQuadrupoleStrength

      double calcQuadrupoleStrength(double current)

      calcQuadrupoleStrength.

      Parameters:
      current - a double
      Returns:
      a double
    • getName

      String getName()

      getName.

      Returns:
      a String object
    • getEnergy

      double getEnergy()

      getEnergy.

      Returns:
      double
    • setEnergy

      void setEnergy(double energy)

      setEnergy.

      Parameters:
      energy - double