[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 | #
|
---|
[df8759] | 18 | ### dipole correlation - empty
|
---|
[cd7a87] | 19 |
|
---|
[df8759] | 20 | AT_SETUP([Analysis - dipole correlation - Empty domain])
|
---|
[e611dc] | 21 | AT_KEYWORDS([analysis correlation dipole-correlation])
|
---|
[718542] | 22 | AT_CHECK([../../molecuilder -i emptybox.xyz -o xyz --select-molecules-by-formula H2O --dipole-correlation --bin-start 0 --bin-width 1. --bin-end 359 --output-file emptybox_values.dat --bin-output-file emptybox_histogram.dat], 0, [ignore], [ignore])
|
---|
[df8759] | 23 | AT_CHECK([file=emptybox_histogram.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleCorrelation-Empty/post/emptybox_histogram.dat], 0, [ignore], [ignore])
|
---|
[cd7a87] | 24 | AT_CLEANUP
|
---|
| 25 |
|
---|
[df8759] | 26 | AT_SETUP([Analysis - dipole correlation - Domain filled with hydrogen])
|
---|
[e611dc] | 27 | AT_KEYWORDS([analysis correlation dipole-correlation])
|
---|
[cd7a87] | 28 | AT_CHECK([../../molecuilder -i hydrogen.xyz -o xyz --add-atom 1 --domain-position "0,0,0"], 0, [stdout], [stderr])
|
---|
| 29 | AT_CHECK([../../molecuilder -i hydrogenbox.xyz -o xyz --fill-void hydrogen.xyz --distances "3.1,3.1,3.1" --DoRotate 0], 0, [stdout], [stderr])
|
---|
[b9bfa6] | 30 | AT_CHECK([../../molecuilder -i hydrogenbox.xyz -o xyz --select-molecules-by-formula H2O --dipole-correlation --bin-start 0 --bin-width 1. --bin-end 359 --output-file hydrogenbox_values.dat --bin-output-file hydrogenbox_histogram.dat], 0, [stdout], [stderr])
|
---|
[df8759] | 31 | AT_CHECK([file=hydrogenbox_histogram.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleCorrelation-Empty/post/hydrogenbox_histogram.dat], 0, [ignore], [ignore])
|
---|
[cd7a87] | 32 | AT_CLEANUP
|
---|