Package org.scictrl.mp.orbitcorrect
Interface IBendingCalculatorModel
- All Known Implementing Classes:
DefaultBendingCalculator
public interface IBendingCalculatorModel
IBendingCalculatorModel interface.
- Author:
- igor@scictrl.com
-
Method Summary
Modifier and TypeMethodDescriptiondouble
calcCurrentFromEnergy
(double energy) calcCurrentFromEnergy.double
calcCurrentFromQuadrupoleStrength
(double gradStrength) calcCurrentFromQuadrupoleStrength.double
calcEnergy
(double current) calcEnergy.double
calcQuadrupoleStrength
(double current) calcQuadrupoleStrength.double
getEnergy.getName()
getName.void
setEnergy
(double energy) setEnergy.
-
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
-