### 7. angular dipole correlation - discrete angles AT_SETUP([Analysis - Angular dipole correlation - same aligned]) AT_KEYWORDS([analysis,correlation,dipole-correlation]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Analysis/AngularDipoleCorrelation-DiscreteAngles/pre/water.xyz .], 0) AT_CHECK([../../molecuilder -i waterbox.xyz -o xyz --fill-void water.xyz --distances "3.1,3.1,3.1" --distance-to-boundary "1." --DoRotate 0], 0, [stdout], [stderr]) AT_CHECK([../../molecuilder -i waterbox.xyz -o xyz -I --select-all-molecules --dipole-correlation --bin-start -0.5 --bin-width 1. --bin-end 359.5 --output-file waterbox_values.dat --bin-output-file waterbox_histogram.dat], 0, [stdout], [stderr]) AT_CHECK([file=waterbox_histogram.dat; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Analysis/AngularDipoleCorrelation-DiscreteAngles/post/waterbox_histogram.dat], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Analysis - Angular dipole correlation - same aligned but one]) AT_KEYWORDS([analysis,correlation,dipole-correlation]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Analysis/AngularDipoleCorrelation-DiscreteAngles/pre/water.xyz .], 0) AT_CHECK([../../molecuilder -i waterbox-mirrored.xyz -o xyz --fill-void water.xyz --distances "3.1,3.1,3.1" --distance-to-boundary "1." --DoRotate 0], 0, [stdout], [stderr]) AT_CHECK([../../molecuilder -i waterbox-mirrored.xyz -I -v 3 --select-atoms-inside-sphere 0.2 --position "5.63,5.71,5.71" --select-atoms-molecules --rotate-around-self 180 --axis "0,1,0"], 0, [stdout], [stderr]) AT_CHECK([../../molecuilder -i waterbox-mirrored.xyz -o xyz -I --select-all-molecules --dipole-correlation --bin-start -0.5 --bin-width 1. --bin-end 359.5 --output-file waterbox-mirrored_values.dat --bin-output-file waterbox-mirrored_histogram.dat], 0, [stdout], [stderr]) AT_CHECK([file=waterbox-mirrored_histogram.dat; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Analysis/AngularDipoleCorrelation-DiscreteAngles/post/waterbox-mirrored_histogram.dat], 0, [ignore], [ignore]) AT_CLEANUP