Uses of Class
cnuphys.swimZ.SwimZStateVector
Packages that use SwimZStateVector
-
Uses of SwimZStateVector in cnuphys.swimtest
Methods in cnuphys.swimtest with parameters of type SwimZStateVectorModifier and TypeMethodDescriptionstatic double
SwimTest.locDiff
(double[] v1, SwimZStateVector szv) Compute the distance between a vector and a SwimZStateVectorstatic void
SwimTest.printSummary
(String message, int nstep, double momentum, double theta0, SwimZStateVector sv, double[] hdata) static void
SwimTest.printSwimZ
(SwimZStateVector v, String s) Print a vector to the standard outputstatic void
SwimTest.printSwimZCM
(SwimZStateVector v, String s) Print a vector to the standard output -
Uses of SwimZStateVector in cnuphys.swimZ
Methods in cnuphys.swimZ that return SwimZStateVectorModifier and TypeMethodDescriptionSwimZResult.first()
Get the first state vectorSwimZResult.last()
Get the final state vectorMethods in cnuphys.swimZ that return types with arguments of type SwimZStateVectorModifier and TypeMethodDescriptionSwimZResult.getTrajectory()
Get the trajectory of state vectorsMethods in cnuphys.swimZ with parameters of type SwimZStateVectorModifier and TypeMethodDescriptionSwimZ.adaptiveRK
(int Q, double p, SwimZStateVector start, double zf, double stepSize, double[] hdata) Swim to a fixed z over short distances using RK adaptive stepsizeint
SwimZ.adaptiveRK
(int Q, double p, SwimZStateVector start, SwimZStateVector stop, double zf, double stepSize, double[] hdata) Swim to a fixed z using RK adaptive stepsizeprotected void
SwimZResult.add
(SwimZStateVector vector) Add a state vector into the trajectoryvoid
SwimZStateVector.copy
(SwimZStateVector sv) Copy from another state vectorvoid
SwimZStateVector.dR
(SwimZStateVector zv, double[] dr) Compute the difference between this state vector's location and another state vector's locationdouble[]
SwimZResult.getThetaAndPhi
(SwimZStateVector sv) Get the values of theta and phi from the momentum and a state vector.double[]
SwimZResult.getThreeMomentum
(SwimZStateVector sv) Get the momentum three-vector for a given statevector, which should be on this result's trajectory.void
SwimZResult.getThreeMomentum
(SwimZStateVector sv, double[] p3) Get the momentum three-vector for a given statevector, which should be on this result's trajectory.SwimZ.parabolicEstimate
(int Q, double p, SwimZStateVector start, double zf, double stepSize) Swim to a fixed z over short distances using a parabolic estimatevoid
SwimZ.parabolicEstimate
(int Q, double p, SwimZStateVector start, SwimZStateVector stop, double zf) Swim to a fixed z over short distances using a parabolic estimate, without intermediate pointsSwimZ.sectorAdaptiveRK
(int sector, int Q, double p, SwimZStateVector start, double zf, double stepSize, double[] hdata) Swim to a fixed z over short distances using RK adaptive stepsizeConstructors in cnuphys.swimZ with parameters of type SwimZStateVectorModifierConstructorDescriptionCreate a state variable from another (copy)