Interface IMagnetCalculatorModel

All Known Implementing Classes:
DefaultGenericMagnetCalculator

public interface IMagnetCalculatorModel

IMagnetCalculatorModel interface.

Author:
igor@scictrl.com
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    calcCurrent(double fieldStrength)
    calcCurrent.
    double
    calcFieldStrength(double current)
    calcFieldStrength.
    double
    getEnergy.
    getName.
    void
    setEnergy(double energy)
    setEnergy.
  • Method Details

    • getName

      String getName()

      getName.

      Returns:
      a String object
    • calcCurrent

      double calcCurrent(double fieldStrength)

      calcCurrent.

      Parameters:
      fieldStrength - double
      Returns:
      double
    • calcFieldStrength

      double calcFieldStrength(double current)

      calcFieldStrength.

      Parameters:
      current - double
      Returns:
      double
    • getEnergy

      double getEnergy()

      getEnergy.

      Returns:
      double
    • setEnergy

      void setEnergy(double energy)

      setEnergy.

      Parameters:
      energy - double