| [6253ed] | 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 | # | 
|---|
|  | 19 | #    MoleCuilder - creates and alters molecular systems | 
|---|
|  | 20 | #    Copyright (C) 2008-2012 University of Bonn | 
|---|
|  | 21 | # | 
|---|
|  | 22 | #    This program is free software: you can redistribute it and/or modify | 
|---|
|  | 23 | #    it under the terms of the GNU General Public License as published by | 
|---|
|  | 24 | #    the Free Software Foundation, either version 3 of the License, or | 
|---|
|  | 25 | #    (at your option) any later version. | 
|---|
|  | 26 | # | 
|---|
|  | 27 | #    This program is distributed in the hope that it will be useful, | 
|---|
|  | 28 | #    but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
|  | 29 | #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
|  | 30 | #    GNU General Public License for more details. | 
|---|
|  | 31 | # | 
|---|
|  | 32 | #    You should have received a copy of the GNU General Public License | 
|---|
|  | 33 | #    along with this program.  If not, see <http://www.gnu.org/licenses/>. | 
|---|
|  | 34 | # | 
|---|
| [4fc828] | 35 | ### dipole angular correlation analysis | 
|---|
|  | 36 |  | 
|---|
| [a860a1] | 37 | AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT, zero change]) | 
|---|
| [4fc828] | 38 | AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation]) | 
|---|
|  | 39 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.pdb .], 0) | 
|---|
| [c3a70d] | 40 | 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]) | 
|---|
| [a860a1] | 41 | i=0; while test $i -ne 36; do | 
|---|
|  | 42 | step=`printf %04d $i` | 
|---|
|  | 43 | AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_X.dat], 0, [ignore], [ignore]) | 
|---|
|  | 44 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_X.dat], 0, [ignore], [ignore]) | 
|---|
|  | 45 | let i=$i+1 | 
|---|
|  | 46 | done | 
|---|
|  | 47 | AT_CLEANUP | 
|---|
|  | 48 |  | 
|---|
|  | 49 | AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT, true change]) | 
|---|
|  | 50 | AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation]) | 
|---|
| [4fc828] | 51 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.pdb .], 0) | 
|---|
| [c3a70d] | 52 | 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]) | 
|---|
| [a860a1] | 53 | i=0; while test $i -ne 36; do | 
|---|
|  | 54 | step=`printf %04d $i` | 
|---|
|  | 55 | AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
|  | 56 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
|  | 57 | let i=$i+1 | 
|---|
|  | 58 | done | 
|---|
| [4b8630] | 59 | AT_CLEANUP | 
|---|
|  | 60 |  | 
|---|
| [a860a1] | 61 | AT_SETUP([Analysis - dipole angular correlation on XYZs, zero change]) | 
|---|
| [4b8630] | 62 | AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation]) | 
|---|
|  | 63 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.xyz .], 0) | 
|---|
| [c3a70d] | 64 | 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]) | 
|---|
| [a860a1] | 65 | i=0; while test $i -ne 36; do | 
|---|
|  | 66 | step=`printf %04d $i` | 
|---|
|  | 67 | AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_X.dat], 0, [ignore], [ignore]) | 
|---|
|  | 68 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_X.dat], 0, [ignore], [ignore]) | 
|---|
|  | 69 | let i=$i+1 | 
|---|
|  | 70 | done | 
|---|
|  | 71 | AT_CLEANUP | 
|---|
|  | 72 |  | 
|---|
|  | 73 | AT_SETUP([Analysis - dipole angular correlation on XYZs, true change]) | 
|---|
|  | 74 | AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation]) | 
|---|
| [4b8630] | 75 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.xyz .], 0) | 
|---|
| [c3a70d] | 76 | 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]) | 
|---|
| [a860a1] | 77 | i=0; while test $i -ne 36; do | 
|---|
|  | 78 | step=`printf %04d $i` | 
|---|
|  | 79 | AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
|  | 80 | AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_Y.$step.dat], 0, [ignore], [ignore]) | 
|---|
|  | 81 | let i=$i+1 | 
|---|
|  | 82 | done | 
|---|
| [4fc828] | 83 | AT_CLEANUP | 
|---|
|  | 84 |  | 
|---|