Package cnuphys.adaptiveSwim.test
Class AdaptiveResultDiff
java.lang.Object
cnuphys.adaptiveSwim.test.AdaptiveResultDiff
- 
Field SummaryFieldsModifier and TypeFieldDescriptionUsed for debugging, to compare the difference between two swims
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoubleGet the signed difference in BDLdouble[]getDiff()Get the signed difference in the final state vectors 2 - 1doubledoubledoubleGet the absolute difference between the final path lengths (2-1)doubleGet the signed final difference in z, z2 - z1doubleGet the signed final difference in theta, 2 - 1doubleGet the signed difference between the final path lengths (2-1)doubleGet the signed final difference in theta, 2 - 1doubleGet the signed final difference in z, z2 - z1doubleGet the signed final difference in z, z2 - z1doubleGet the signed final difference in z, z2 - z1
- 
Field Details- 
result1Used for debugging, to compare the difference between two swims
- 
result2
 
- 
- 
Constructor Details- 
AdaptiveResultDiff
 
- 
- 
Method Details- 
getFinalSDiffpublic double getFinalSDiff()Get the signed difference between the final path lengths (2-1)- Returns:
- the signed difference between the final path lengths
 
- 
getFinalAbsSDiffpublic double getFinalAbsSDiff()Get the absolute difference between the final path lengths (2-1)- Returns:
- the signed difference between the final path lengths
 
- 
getDiffpublic double[] getDiff()Get the signed difference in the final state vectors 2 - 1- Returns:
- the signed difference in the final state vectors
 
- 
getFinalAbsPositionDiffpublic double getFinalAbsPositionDiff()
- 
getFinalAbsMomentumDiffpublic double getFinalAbsMomentumDiff()
- 
getFinalXDiffpublic double getFinalXDiff()Get the signed final difference in z, z2 - z1- Returns:
- the signed final difference in z
 
- 
getFinalYDiffpublic double getFinalYDiff()Get the signed final difference in z, z2 - z1- Returns:
- the signed final difference in z
 
- 
getFinalZDiffpublic double getFinalZDiff()Get the signed final difference in z, z2 - z1- Returns:
- the signed final difference in z
 
- 
getFinalAbsZDiffpublic double getFinalAbsZDiff()Get the signed final difference in z, z2 - z1- Returns:
- the signed final difference in z
 
- 
getFinalThetaDiffpublic double getFinalThetaDiff()Get the signed final difference in theta, 2 - 1- Returns:
- the signed final difference in theta (degrees)
 
- 
getFinalPhiDiffpublic double getFinalPhiDiff()Get the signed final difference in theta, 2 - 1- Returns:
- the signed final difference in theta (degrees)
 
- 
getBDLDiffpublic double getBDLDiff()Get the signed difference in BDL- Returns:
- the signed difference in BDL
 
 
-