Module simpa.core

Class TaosSymplecticIntegrator

java.lang.Object
simpa.core.api.track.TaosSymplecticIntegrator

public class TaosSymplecticIntegrator extends Object
  • Method Details

    • setOmega

      public static void setOmega(double om)
      Sets the coupling constant for Tao's method. This is a specific parameter needed for the integrator to work properly. Its value is between 0.. 2*PI. There is no easy way to determine its value in advance, but trying a few values is a good strategy. A good value is when the energy oscillation has the smallest value. Adding a TrajectoryObserver to the ParticleTrackerTask produces a trajectory file, which contains the particle energy at each step. Plot (with gnuplot for example) this energy deviation for a few trial run and find the minimum. If the omega parameter is very far, the particle can be lost quickly.
      Parameters:
      om - The omega value.
    • setPotentialProvider

      public void setPotentialProvider(PotentialProvider potProvide)