Package xal.extension.jels.smf.impl
Class RfFieldMap1D
java.lang.Object
xal.extension.jels.smf.impl.FieldMap
xal.extension.jels.smf.impl.RfFieldMap1D
1D FieldMap element for RF cavities, assuming a radial dependence similar to
pillbox cavity.
- 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
-
RfFieldMap1D
-
-
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:
-