forked from plumed/plumed2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more powerful (and somehow correct) test
- Loading branch information
Showing
5 changed files
with
197 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! FIELDS time cvPY coord diff | ||
0.000000 1.833292 1.833292 -0.000000 | ||
1.000000 0.051942 0.051942 -0.000000 | ||
2.000000 0.004564 0.004564 -0.000000 | ||
3.000000 0.051942 0.051942 -0.000000 | ||
4.000000 1.833292 1.833292 -0.000000 | ||
0.000000 0.054853 0.054853 -0.000000 | ||
1.000000 0.000648 0.000648 0.000000 | ||
2.000000 0.000000 0.000000 0.000000 | ||
3.000000 0.000648 0.000648 0.000000 | ||
4.000000 0.054853 0.054853 -0.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
type=driver | ||
arg="--plumed plumed.dat --ixyz traj.xyz" | ||
|
||
plumed_regtest_after() { | ||
{ | ||
head -1 deriv | awk '{printf "%s %s %s %s %s-%s\n" , $1, $2,$3,$4,$5,$6 }' | ||
#I'm giving some(a LOT OF) space to the floating point precision | ||
awk 'function abs(v) {return v < 0 ? -v : v} NR>1{print $1, $2, 0.01 < abs($3-$4) } ' <deriv | ||
} >deriv_delta | ||
} |
166 changes: 166 additions & 0 deletions
166
pycv/regtest/pycvcomm/rt-Coordination/deriv_delta.reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
#! FIELDS time parameter cvPY-coord | ||
0.000000 0 0 | ||
0.000000 1 0 | ||
0.000000 2 0 | ||
0.000000 3 0 | ||
0.000000 4 0 | ||
0.000000 5 0 | ||
0.000000 6 0 | ||
0.000000 7 0 | ||
0.000000 8 0 | ||
0.000000 9 0 | ||
0.000000 10 0 | ||
0.000000 11 0 | ||
0.000000 12 0 | ||
0.000000 13 0 | ||
0.000000 14 0 | ||
0.000000 15 0 | ||
0.000000 16 0 | ||
0.000000 17 0 | ||
0.000000 18 0 | ||
0.000000 19 0 | ||
0.000000 20 0 | ||
0.000000 21 0 | ||
0.000000 22 0 | ||
0.000000 23 0 | ||
0.000000 24 0 | ||
0.000000 25 0 | ||
0.000000 26 0 | ||
0.000000 27 0 | ||
0.000000 28 0 | ||
0.000000 29 0 | ||
0.000000 30 0 | ||
0.000000 31 0 | ||
0.000000 32 0 | ||
1.000000 0 0 | ||
1.000000 1 0 | ||
1.000000 2 0 | ||
1.000000 3 0 | ||
1.000000 4 0 | ||
1.000000 5 0 | ||
1.000000 6 0 | ||
1.000000 7 0 | ||
1.000000 8 0 | ||
1.000000 9 0 | ||
1.000000 10 0 | ||
1.000000 11 0 | ||
1.000000 12 0 | ||
1.000000 13 0 | ||
1.000000 14 0 | ||
1.000000 15 0 | ||
1.000000 16 0 | ||
1.000000 17 0 | ||
1.000000 18 0 | ||
1.000000 19 0 | ||
1.000000 20 0 | ||
1.000000 21 0 | ||
1.000000 22 0 | ||
1.000000 23 0 | ||
1.000000 24 0 | ||
1.000000 25 0 | ||
1.000000 26 0 | ||
1.000000 27 0 | ||
1.000000 28 0 | ||
1.000000 29 0 | ||
1.000000 30 0 | ||
1.000000 31 0 | ||
1.000000 32 0 | ||
2.000000 0 0 | ||
2.000000 1 0 | ||
2.000000 2 0 | ||
2.000000 3 0 | ||
2.000000 4 0 | ||
2.000000 5 0 | ||
2.000000 6 0 | ||
2.000000 7 0 | ||
2.000000 8 0 | ||
2.000000 9 0 | ||
2.000000 10 0 | ||
2.000000 11 0 | ||
2.000000 12 0 | ||
2.000000 13 0 | ||
2.000000 14 0 | ||
2.000000 15 0 | ||
2.000000 16 0 | ||
2.000000 17 0 | ||
2.000000 18 0 | ||
2.000000 19 0 | ||
2.000000 20 0 | ||
2.000000 21 0 | ||
2.000000 22 0 | ||
2.000000 23 0 | ||
2.000000 24 0 | ||
2.000000 25 0 | ||
2.000000 26 0 | ||
2.000000 27 0 | ||
2.000000 28 0 | ||
2.000000 29 0 | ||
2.000000 30 0 | ||
2.000000 31 0 | ||
2.000000 32 0 | ||
3.000000 0 0 | ||
3.000000 1 0 | ||
3.000000 2 0 | ||
3.000000 3 0 | ||
3.000000 4 0 | ||
3.000000 5 0 | ||
3.000000 6 0 | ||
3.000000 7 0 | ||
3.000000 8 0 | ||
3.000000 9 0 | ||
3.000000 10 0 | ||
3.000000 11 0 | ||
3.000000 12 0 | ||
3.000000 13 0 | ||
3.000000 14 0 | ||
3.000000 15 0 | ||
3.000000 16 0 | ||
3.000000 17 0 | ||
3.000000 18 0 | ||
3.000000 19 0 | ||
3.000000 20 0 | ||
3.000000 21 0 | ||
3.000000 22 0 | ||
3.000000 23 0 | ||
3.000000 24 0 | ||
3.000000 25 0 | ||
3.000000 26 0 | ||
3.000000 27 0 | ||
3.000000 28 0 | ||
3.000000 29 0 | ||
3.000000 30 0 | ||
3.000000 31 0 | ||
3.000000 32 0 | ||
4.000000 0 0 | ||
4.000000 1 0 | ||
4.000000 2 0 | ||
4.000000 3 0 | ||
4.000000 4 0 | ||
4.000000 5 0 | ||
4.000000 6 0 | ||
4.000000 7 0 | ||
4.000000 8 0 | ||
4.000000 9 0 | ||
4.000000 10 0 | ||
4.000000 11 0 | ||
4.000000 12 0 | ||
4.000000 13 0 | ||
4.000000 14 0 | ||
4.000000 15 0 | ||
4.000000 16 0 | ||
4.000000 17 0 | ||
4.000000 18 0 | ||
4.000000 19 0 | ||
4.000000 20 0 | ||
4.000000 21 0 | ||
4.000000 22 0 | ||
4.000000 23 0 | ||
4.000000 24 0 | ||
4.000000 25 0 | ||
4.000000 26 0 | ||
4.000000 27 0 | ||
4.000000 28 0 | ||
4.000000 29 0 | ||
4.000000 30 0 | ||
4.000000 31 0 | ||
4.000000 32 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters