Package xal.smf
Interface ISplittable
- All Known Implementing Classes:
MagFieldMap
,RfFieldMap
public interface ISplittable
This interface must be implemented by any element that can be split in
several identical elements. The element can implement features that depend on
the longitudinal position.
The element will be split only if it is modeled by a subclass of
ThinElement
.
If the element is modeled by a subclass of
ThickElement
, then this method would only be used
internally to calculate the transfer map.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@esss.se>
-
Method Summary
-
Method Details
-
getLongitudinalPositions
double[] getLongitudinalPositions()- Returns:
- Longitudinal positions at which the element must be split.
-
getSliceLength
double getSliceLength()- Returns:
- Length of each slice of the element.
-