Package xal.extension.jels.smf.impl
Class MagFieldMap3D
java.lang.Object
xal.extension.jels.smf.impl.FieldMap
xal.extension.jels.smf.impl.MagFieldMap3D
3D FieldMap element for static magnets.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Nested Class Summary
Nested classes/interfaces inherited from class xal.extension.jels.smf.impl.FieldMap
FieldMap.FieldComponent<T>
-
Field Summary
Fields inherited from class xal.extension.jels.smf.impl.FieldMap
electricField, fieldIntegral, length, LOGGER, longitudinalPositions, magneticField, numberOfPoints, sliceLength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldAt
(double position) This method returns the amplitude of the field at the given point.void
saveFieldMap
(String path, String filename) Saves the fieldmap files.Methods inherited from class xal.extension.jels.smf.impl.FieldMap
getFieldIntegral, getFieldMapPointPositions, getLength, getLongitudinalPositions, getNumberOfPoints, getSliceLength, isCoupled, loadFile1D, loadFile2D, loadFile3D, recalculateSliceLength, saveFile1D, saveFile2D, saveFile3D, setCoupled, setNumberOfPoints
-
Constructor Details
-
MagFieldMap3D
-
-
Method Details
-
saveFieldMap
Description copied from class:FieldMap
Saves the fieldmap files.- Specified by:
saveFieldMap
in classFieldMap
- Throws:
IOException
URISyntaxException
-
getFieldAt
This method returns the amplitude of the field at the given point. Linear interpolation is used.- Specified by:
getFieldAt
in classFieldMap
- Parameters:
position
-- Returns:
-