Class ModifiedScanningLaw.Derivm

java.lang.Object
gaiasky.util.gaia.ModifiedScanningLaw.Derivm
All Implemented Interfaces:
DiffnFunctionNs
Enclosing class:
ModifiedScanningLaw

public class ModifiedScanningLaw.Derivm extends Object implements DiffnFunctionNs
Class to evaluate the set of two ordinary differential equations describing the evolution of the precession angle (nu = y[0]) and spin phase (Omega = y[1]) as functions of time.

For use with scanninglaws.util.RungeKuttaG

  • Constructor Details

    • Derivm

      public Derivm()
  • Method Details

    • derivn

      public double[] derivn(long t, double[] y)
      Specified by:
      derivn in interface DiffnFunctionNs
      Parameters:
      t - time
      y - the set of dependent variables
      Returns:
      double[] derivatives of y with respect to time