Uses of Interface
cnuphys.rk4.IRkListener
Packages that use IRkListener
-
Uses of IRkListener in cnuphys.rk4
Methods in cnuphys.rk4 with parameters of type IRkListenerModifier and TypeMethodDescriptionint
RungeKutta.adaptiveStep
(double[] yo, double to, double tf, double h, IDerivative deriv, IStopper stopper, IRkListener listener, ButcherTableau tableau, double[] relTolerance, double[] hdata) Integrator that uses the RungeKutta advance with a Butcher Tableau and adaptive stepsize This version uses an IRk4Listener to notify the listener that the next step has been advanced.int
RungeKutta.adaptiveStep
(double[] yo, double to, double tf, double h, IDerivative deriv, IStopper stopper, IRkListener listener, ButcherTableau tableau, double eps, double[] yscale, double[] hdata) Integrator that uses the RungeKutta advance with a Butcher Tableau and adaptive stepsize.int
RungeKuttaZ.adaptiveStepToTf
(double[] yo, double to, double tf, double h, IDerivative deriv, IStopper stopper, IRkListener listener, double[] relTolerance, double[] hdata) Integrator that uses the RungeKutta advance with a Butcher Tableau and adaptive stepsize This version uses an IRk4Listener to notify the listener that the next step has been advanced.static void
RkTest.TestUniform
(double[] yo, double to, double tf, double h, IDerivative deriv, IStopper stopper, IRkListener listener, double[] answer) Test the uniform step sizeint
RungeKutta.uniformStep
(double[] yo, double to, double tf, double h, IDerivative deriv, IStopper stopper, IRkListener listener) Integrator that uses the standard RK4 advance with a uniform step size.int
RungeKutta.uniformStep
(double[] yo, double to, double tf, double h, IDerivative deriv, IStopper stopper, IRkListener listener, ButcherTableau tableau) Integrator that uses the RungeKutta advance with a Butcher Tableau and constant stepsize. -
Uses of IRkListener in cnuphys.swim
Classes in cnuphys.swim that implement IRkListenerMethods in cnuphys.swim with parameters of type IRkListenerModifier and TypeMethodDescriptionint
Swimmer.swim
(int charge, double xo, double yo, double zo, double momentum, double theta, double phi, IRkListener listener, double rmax, double maxPathLength, double stepSize) Swims a Lund particle with a built it stopper for the maximum value of the radial coordinate.int
Swimmer.swim
(int charge, double xo, double yo, double zo, double momentum, double theta, double phi, IStopper stopper, IRkListener listener, double maxPathLength, double stepSize) Swims a charged particle.int
Swimmer.swim
(int charge, double xo, double yo, double zo, double momentum, double theta, double phi, IStopper stopper, IRkListener listener, double maxPathLength, double stepSize, double[] relTolerance, double[] hdata) Swims a charged particle for the listener mode, where a callback is called for each advance of the integration Uses an adaptive stepsize algorithm.int
Swimmer.swim
(int charge, double xo, double yo, double zo, double momentum, double theta, double phi, IStopper stopper, IRkListener listener, double maxPathLength, double stepSize, double tolerance, double[] hdata) Swims a Lund particle for the listener mode, where a callback is called for each advance of the integration Uses an adaptive stepsize algorithm.