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 doubleSwimTest.locDiff(double[] v1, SwimZStateVector szv) Compute the distance between a vector and a SwimZStateVectorstatic voidSwimTest.printSummary(String message, int nstep, double momentum, double theta0, SwimZStateVector sv, double[] hdata) static voidSwimTest.printSwimZ(SwimZStateVector v, String s) Print a vector to the standard outputstatic voidSwimTest.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 stepsizeintSwimZ.adaptiveRK(int Q, double p, SwimZStateVector start, SwimZStateVector stop, double zf, double stepSize, double[] hdata) Swim to a fixed z using RK adaptive stepsizeprotected voidSwimZResult.add(SwimZStateVector vector) Add a state vector into the trajectoryvoidSwimZStateVector.copy(SwimZStateVector sv) Copy from another state vectorvoidSwimZStateVector.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.voidSwimZResult.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 estimatevoidSwimZ.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)