Class Marker

All Implemented Interfaces:
IComponent, IElement

public class Marker extends ThinElement
This class is used as a location marker in the modeling lattice. Is has no length and no effect on the dynamics of any probe.
Author:
Christopher Allen
  • Field Details

  • Constructor Details

    • Marker

      public Marker(String strId)
      Creates a new instance of Marker
      Parameters:
      strId - identifier of this object
    • Marker

      public Marker()
      JavaBean constructor - creates a new uninitialized instance of Marker BE CAREFUL
  • Method Details

    • elapsedTime

      public double elapsedTime(IProbe probe)
      Returns the time taken for the probe to propagate through element.
      Specified by:
      elapsedTime in class ThinElement
      Parameters:
      probe - propagating probe
      Returns:
      the value zero
    • energyGain

      public double energyGain(IProbe probe)
      Returns energy gain which is zero.
      Specified by:
      energyGain in class ThinElement
      Parameters:
      probe - dummy argument
      Returns:
      returns zero
    • transferMap

      protected PhaseMap transferMap(IProbe probe) throws PropagationException
      Returns the transfer map of this element which is the identity.
      Specified by:
      transferMap in class ThinElement
      Parameters:
      probe - dummy argument
      Returns:
      the identity phase map
      Throws:
      PropagationException - this should not occur