| 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 |  | 
|---|
| 20 | AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT, zero change]) | 
|---|
| 21 | AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation]) | 
|---|
| 22 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.pdb .], 0) | 
|---|
| 23 | AT_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]) | 
|---|
| 24 | i=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/post/water_histogram_X.dat], 0, [ignore], [ignore]) | 
|---|
| 27 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_X.dat], 0, [ignore], [ignore]) | 
|---|
| 28 | let i=$i+1 | 
|---|
| 29 | done | 
|---|
| 30 | AT_CLEANUP | 
|---|
| 31 |  | 
|---|
| 32 | AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT, true change]) | 
|---|
| 33 | AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation]) | 
|---|
| 34 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.pdb .], 0) | 
|---|
| 35 | AT_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]) | 
|---|
| 36 | i=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/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
| 39 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
| 40 | let i=$i+1 | 
|---|
| 41 | done | 
|---|
| 42 | AT_CLEANUP | 
|---|
| 43 |  | 
|---|
| 44 | AT_SETUP([Analysis - dipole angular correlation on XYZs, zero change]) | 
|---|
| 45 | AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation]) | 
|---|
| 46 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.xyz .], 0) | 
|---|
| 47 | AT_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]) | 
|---|
| 48 | i=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/post/water_histogram_X.dat], 0, [ignore], [ignore]) | 
|---|
| 51 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_X.dat], 0, [ignore], [ignore]) | 
|---|
| 52 | let i=$i+1 | 
|---|
| 53 | done | 
|---|
| 54 | AT_CLEANUP | 
|---|
| 55 |  | 
|---|
| 56 | AT_SETUP([Analysis - dipole angular correlation on XYZs, true change]) | 
|---|
| 57 | AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation]) | 
|---|
| 58 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.xyz .], 0) | 
|---|
| 59 | AT_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]) | 
|---|
| 60 | i=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/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
| 63 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
| 64 | let i=$i+1 | 
|---|
| 65 | done | 
|---|
| 66 | AT_CLEANUP | 
|---|
| 67 |  | 
|---|