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 correlation - empty
|
---|
19 |
|
---|
20 | AT_SETUP([Analysis - dipole correlation - Empty domain])
|
---|
21 | AT_KEYWORDS([analysis correlation dipole-correlation])
|
---|
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])
|
---|
23 | AT_CHECK([file=emptybox_histogram.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleCorrelation-Empty/post/emptybox_histogram.dat], 0, [ignore], [ignore])
|
---|
24 | AT_CLEANUP
|
---|
25 |
|
---|
26 | AT_SETUP([Analysis - dipole correlation - Domain filled with hydrogen])
|
---|
27 | AT_KEYWORDS([analysis correlation dipole-correlation])
|
---|
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])
|
---|
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])
|
---|
31 | AT_CHECK([file=hydrogenbox_histogram.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleCorrelation-Empty/post/hydrogenbox_histogram.dat], 0, [ignore], [ignore])
|
---|
32 | AT_CLEANUP
|
---|