source: tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/testsuite-analysis-dipole-angular-correlation-periodic-boundaries.at

Candidate_v1.6.1
Last change on this file was 0d97b4, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Disclaimer appeared twice in each testsuite. Second time removed.

  • Property mode set to 100644
File size: 4.7 KB
Line 
1#
2# MoleCuilder - creates and alters molecular systems
3# Copyright (C) 2008-2012 University of Bonn
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
18### dipole angular correlation analysis
19
20AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT and periodic BC, zero change])
21AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation periodic])
22AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/pre/watermulti_X.pdb .], 0)
23AT_CHECK([../../molecuilder -v 4 -i watermulti_X.pdb -o pdb --dipole-angular-correlation H2O --bin-start -5 --bin-width 10. --bin-end 184.5 --time-step-zero 0 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
24i=0; while test $i -ne 36; do
25 step=`printf %04d $i`
26 AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_histogram_X.dat], 0, [ignore], [ignore])
27 AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_values_X.dat], 0, [ignore], [ignore])
28 let i=$i+1
29done
30AT_CLEANUP
31
32AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT and periodic BC, true change])
33AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation periodic])
34AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/pre/watermulti_Y.pdb .], 0)
35AT_CHECK([../../molecuilder -v 4 -i watermulti_Y.pdb -o pdb --dipole-angular-correlation H2O --bin-start -5 --bin-width 10. --bin-end 184.5 --time-step-zero 0 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
36i=0; while test $i -ne 36; do
37 step=`printf %04d $i`
38 AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore])
39 AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_values_Y.$step.dat], 0, [ignore], [ignore])
40 let i=$i+1
41done
42AT_CLEANUP
43
44AT_SETUP([Analysis - dipole angular correlation on XYZs and periodic BC, zero change])
45AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation periodic])
46AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/pre/watermulti_X.xyz .], 0)
47AT_CHECK([../../molecuilder -v 4 -i watermulti_X.xyz -o xyz -I --dipole-angular-correlation H2O --bin-start -5 --bin-width 10. --bin-end 184.5 --time-step-zero 0 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
48i=0; while test $i -ne 36; do
49 step=`printf %04d $i`
50 AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_histogram_X.dat], 0, [ignore], [ignore])
51 AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_values_X.dat], 0, [ignore], [ignore])
52 let i=$i+1
53done
54AT_CLEANUP
55
56AT_SETUP([Analysis - dipole angular correlation on XYZs and periodic BC, true change])
57AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation])
58AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/pre/watermulti_Y.xyz .], 0)
59AT_CHECK([../../molecuilder -v 4 -i watermulti_Y.xyz -o xyz -I --dipole-angular-correlation H2O --bin-start -5 --bin-width 10. --bin-end 184.5 --time-step-zero 0 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
60i=0; while test $i -ne 36; do
61 step=`printf %04d $i`
62 AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore])
63 AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation-PeriodicBoundaries/post/water_values_Y.$step.dat], 0, [ignore], [ignore])
64 let i=$i+1
65done
66AT_CLEANUP
67
Note: See TracBrowser for help on using the repository browser.