Package cnuphys.magfield
Class Solenoid
java.lang.Object
cnuphys.magfield.MagneticField
cnuphys.magfield.Solenoid
- All Implemented Interfaces:
IMagField
- Direct Known Subclasses:
StandardSolenoid
,TransverseSolenoid
-
Field Summary
Fields inherited from class cnuphys.magfield.MagneticField
_interpolate, _scaleFactor, _shiftX, _shiftY, _shiftZ, angularUnit, avgField, field, fieldCoordinateSystem, fieldUnit, gridCoordinateSystem, highTime, lengthUnit, LOGGER, lowTime, MAGICNUMBER, maxField, maxFieldIndex, maxFieldLocation, maxVectorField, MISALIGNTOL, numFieldPoints, q1Coordinate, q2Coordinate, q3Coordinate, reserved3, reserved4, reserved5
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cnuphys.magfield.MagneticField
computeMaxField, contains, fieldMagnitude, getB1, getB2, getB3, getBaseFileName, getBComponent, getCompositeIndex, getCoordinateIndices, getCreationDate, getFakeZMax, getLocation, getMaxFieldMagnitude, getPhiCoordinate, getQ1Coordinate, getQ2Coordinate, getQ3Coordinate, getRCoordinate, getRhoMax, getRhoMin, getScaleFactor, getShiftX, getShiftY, getShiftZ, getXCoordinate, getYCoordinate, getZCoordinate, getZMax, getZMin, isInterpolate, isMisaligned, isMisalignedX, isMisalignedY, isMisalignedZ, maxFieldMagnitude, readBinaryMagneticField, setCoordinateNames, setFakeZMax, setInterpolate, setScaleFactor, setShiftX, setShiftY, setShiftZ, setZeroField, squareMagnitude, toString, vectorField, vectorToString
-
Constructor Details
-
Solenoid
public Solenoid()
-
-
Method Details
-
getName
Description copied from interface:IMagField
Get the name of the field- Returns:
- the name, e.e. "Torus"
-
printConfiguration
Description copied from interface:IMagField
Print the current configuration- Parameters:
ps
- the print stream
-
isActive
public boolean isActive()Description copied from class:MagneticField
Checks this field active.- Specified by:
isActive
in classMagneticField
- Returns:
true
if this field is active;
-
isZeroField
public final boolean isZeroField()Checks whether the field has been set to always return zero.- Specified by:
isZeroField
in interfaceIMagField
- Overrides:
isZeroField
in classMagneticField
- Returns:
true
if the field is set to return zero.
-