Class ThinMagFieldMap

All Implemented Interfaces:
IElectromagnet, IComponent, IElement

public class ThinMagFieldMap extends ThinElectromagnet
Magnetic fieldmap 3D implementation.
Author:
Juan F. Esteban Müller <JuanF.EstebanMuller@esss.se>
  • Constructor Details

    • ThinMagFieldMap

      public ThinMagFieldMap()
    • ThinMagFieldMap

      public ThinMagFieldMap(String strId)
  • Method Details

    • initializeFrom

      public void initializeFrom(LatticeElement latticeElement)
      Description copied from class: ThinElectromagnet
      Conversion method to be provided by the user
      Specified by:
      initializeFrom in interface IComponent
      Overrides:
      initializeFrom in class ThinElectromagnet
      Parameters:
      latticeElement - the SMF node to convert
    • transferMap

      public PhaseMap transferMap(IProbe probe) throws ModelException
      Method calculates transfer matrix for the field map for a given data point in the field map. Drift spaces are calculated separately.
      Specified by:
      transferMap in class ThinElement
      Returns:
      Throws:
      ModelException
    • energyGain

      public double energyGain(IProbe probe)
      Description copied from class: ThinElement
      Calculate the energy gain for this element on the supplied probe.
      Specified by:
      energyGain in class ThinElement
      Returns:
      this element's energy gain
    • elapsedTime

      protected double elapsedTime(IProbe probe)
      Description copied from class: ThinElement
      Returns the time taken for the probe to propagate through element.
      Specified by:
      elapsedTime in class ThinElement
      Parameters:
      probe - propagating probe
      Returns:
      elapsed time through element Units: seconds