Changeset 6531a7


Ignore:
Timestamp:
Oct 17, 2013, 7:24:41 AM (11 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
d29b31
Parents:
958312
git-author:
Frederik Heber <heber@…> (10/07/13 08:05:58)
git-committer:
Frederik Heber <heber@…> (10/17/13 07:24:41)
Message:

Split regression test on analysing long range results into OBC and PBC type.

  • TESTFIX: Exchanged OBC long range results file, too, as mpqc and calculated substantially changed.. and makes more sense now, e.g. mixed contribution now has opposite sign w.r.t to nuclei and electron parts.
  • this is preparatory for upcoming change to level 1 summation.
Location:
tests/regression/Fragmentation/AnalyseFragmentationResults
Files:
16 added
7 deleted
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/BondFragment_Eigenhistogram.dat

    r958312 r6531a7  
    221       (-11.70744928,0.001976320932) (-11.20744928,11.99802368) (-10.70744928,0) (-10.20744928,0) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,0) (-2.207449281,0) (-1.707449281,0.001976320932) (-1.207449281,12.00395264) (-0.7074492809,35.99604736) (-0.2074492809,12.0098816) (0.2925507191,71.99604736) (0.7925507191,47.99407104) (1.292550719,11.99802368) (1.792550719,0) (2.292550719,0)
    332       (-11.70744928,0.003685861886) (-11.20744928,12.17781742) (-10.70744928,-0.181503283) (-10.20744928,0) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,0) (-2.207449281,0) (-1.707449281,0.003685861886) (-1.207449281,12.09556905) (-0.7074492809,26.35563484) (-0.2074492809,1.468810822) (0.2925507191,43.27336853) (0.7925507191,57.53262989) (1.292550719,11.45180429) (1.792550719,-0.181503283) (2.292550719,0) (2.792550719,0)
    4 3       (-11.70744928,0.007783111293) (-11.20744928,12.36882009) (-10.70744928,-0.3798269217) (-10.20744928,0.003223718125) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,0) (-2.207449281,0) (-1.707449281,0.007783111293) (-1.207449281,12.29517242) (-0.7074492809,26.55859149) (-0.2074492809,1.249749067) (0.2925507191,51.41679121) (0.7925507191,42.14259129) (1.292550719,10.8575111) (1.792550719,7.468586591) (2.292550719,0.003223718125) (2.792550719,0) (3.292550719,0)
    5 4       (-12.20744928,-2.215320106e-05) (-11.70744928,0.002492152413) (-11.20744928,12.13053389) (-10.70744928,-0.1335224721) (-10.20744928,0.0005185817927) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,0) (-2.207449281,-2.215320106e-05) (-1.707449281,0.00244565126) (-1.207449281,12.04460983) (-0.7074492809,26.42232616) (-0.2074492809,13.19277798) (0.2925507191,33.09329349) (0.7925507191,51.83543782) (1.292550719,13.55406042) (1.792550719,1.854552218) (2.292550719,0.0005185817927) (2.792550719,0) (3.292550719,0)
    6 5       (-12.70744928,5.889258758e-08) (-12.20744928,-1.065655204e-05) (-11.70744928,0.003131304404) (-11.20744928,12.13875486) (-10.70744928,-0.1423942722) (-10.20744928,0.0005187075262) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,5.889258758e-08) (-2.207449281,-1.053293761e-05) (-1.707449281,0.003112041016) (-1.207449281,12.0540051) (-0.7074492809,26.34899351) (-0.2074492809,9.368117523) (0.2925507191,36.9742001) (0.7925507191,47.92390991) (1.292550719,17.49057198) (1.792550719,1.836581586) (2.292550719,0.0005187075262) (2.792550719,0) (3.292550719,0)
    7 6       (-13.20744928,-5.428523269e-11) (-12.70744928,5.172117196e-08) (-12.20744928,-9.873433099e-06) (-11.70744928,0.003295841525) (-11.20744928,12.14534752) (-10.70744928,-0.1492264769) (-10.20744928,0.0005929349564) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,-5.428523269e-11) (-2.707449281,5.160722867e-08) (-2.207449281,-9.767724244e-06) (-1.707449281,0.003278559546) (-1.207449281,12.0610302) (-0.7074492809,26.35938724) (-0.2074492809,9.354924929) (0.2925507191,36.96968553) (0.7925507191,45.95357038) (1.292550719,17.49538642) (1.792550719,3.802153525) (2.292550719,0.0005929349564) (2.792550719,0) (3.292550719,0)
     43       (-11.70744928,0.007783111291) (-11.20744928,12.36882009) (-10.70744928,-0.3798269216) (-10.20744928,0.003223718125) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,0) (-2.207449281,0) (-1.707449281,0.007783111291) (-1.207449281,12.29517242) (-0.7074492809,26.55859149) (-0.2074492809,1.249749068) (0.2925507191,51.41679121) (0.7925507191,42.14259129) (1.292550719,10.8575111) (1.792550719,7.468586591) (2.292550719,0.003223718125) (2.792550719,0) (3.292550719,0)
     54       (-12.20744928,-2.215320106e-05) (-11.70744928,0.002492152413) (-11.20744928,12.13053389) (-10.70744928,-0.1335224721) (-10.20744928,0.0005185817927) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,0) (-2.207449281,-2.215320106e-05) (-1.707449281,0.002445651259) (-1.207449281,12.04460983) (-0.7074492809,26.42232616) (-0.2074492809,13.19277798) (0.2925507191,33.09329349) (0.7925507191,51.83543782) (1.292550719,13.55406042) (1.792550719,1.854552218) (2.292550719,0.0005185817927) (2.792550719,0) (3.292550719,0)
     65       (-12.70744928,5.889258752e-08) (-12.20744928,-1.065655204e-05) (-11.70744928,0.003131304404) (-11.20744928,12.13875486) (-10.70744928,-0.1423942722) (-10.20744928,0.0005187075268) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,0) (-2.707449281,5.889258752e-08) (-2.207449281,-1.053293761e-05) (-1.707449281,0.003112041016) (-1.207449281,12.0540051) (-0.7074492809,26.34899351) (-0.2074492809,9.368117523) (0.2925507191,36.9742001) (0.7925507191,47.92390992) (1.292550719,17.49057198) (1.792550719,1.836581586) (2.292550719,0.0005187075268) (2.792550719,0) (3.292550719,0)
     76       (-13.20744928,-5.428523274e-11) (-12.70744928,5.172117192e-08) (-12.20744928,-9.873433094e-06) (-11.70744928,0.003295841525) (-11.20744928,12.14534752) (-10.70744928,-0.1492264769) (-10.20744928,0.0005929349563) (-9.707449281,0) (-9.207449281,0) (-8.707449281,0) (-8.207449281,0) (-7.707449281,0) (-7.207449281,0) (-6.707449281,0) (-6.207449281,0) (-5.707449281,0) (-5.207449281,0) (-4.707449281,0) (-4.207449281,0) (-3.707449281,0) (-3.207449281,-5.428523274e-11) (-2.707449281,5.160722863e-08) (-2.207449281,-9.76772424e-06) (-1.707449281,0.003278559545) (-1.207449281,12.0610302) (-0.7074492809,26.35938724) (-0.2074492809,9.354924929) (0.2925507191,36.96968553) (0.7925507191,45.95357038) (1.292550719,17.49538642) (1.792550719,3.802153525) (2.292550719,0.0005929349563) (2.792550719,0) (3.292550719,0)
  • tests/regression/Fragmentation/AnalyseFragmentationResults/testsuite-fragmentation-analyse-fragment-results.at

    r958312 r6531a7  
    5353# ./molecuilder -i pre/alkane-3.pdb --change-box 20,0,20,0,0,20 --set-parser-parameters mpqc --parser-parameters "theory=CLHF;basis=6-31G;" --set-boundary-conditions Ignore Ignore Ignore --update-molecules --select-all-atoms --fragment-molecule BondFragment --DoSaturate 1 --ExcludeHydrogen 1 --distance 2. --order 6 --fragment-automation --DoLongrange 1 --DoValenceOnly 0 --grid-level 4 --near-field-cells 3 --server-address 127.0.0.1 --server-port 1026 --fragment-resultfile BondFragmentLongRangeResults.dat
    5454
    55 AT_SETUP([Fragmentation - Analyse long-range fragmentation results])
     55AT_SETUP([Fragmentation - Analyse long-range fragmentation results with OBC])
    5656AT_KEYWORDS([fragmentation analyse-fragment-results])
    5757
    58 file=BondFragmentLongRangeResults.dat
     58file=BondFragmentLongRangeResults_OBC.dat
    5959AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/pre/$file $file], 0)
    6060AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    6161AT_CHECK([../../molecuilder -i ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/pre/alkane-3.pdb -o tremolo --set-tremolo-atomdata "Id type x=3 u=3 F=3" --reset 1 --analyse-fragment-results --fragment-resultfile $file], 0, [ignore], [stderr])
    62 AT_CHECK([diff alkane-3.data ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/alkane-3.data], 0, [ignore], [ignore])
    63 AT_CHECK([output=BondFragment_Energy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
    64 AT_CHECK([output=BondFragment_Forces.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
    65 AT_CHECK([output=BondFragment_Times.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
    66 AT_CHECK([output=BondFragment_Eigenvalues.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
    67 AT_CHECK([output=BondFragment_Eigenhistogram.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
    68 AT_CHECK([output=BondFragment_IndexedEnergy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
     62#AT_CHECK([diff alkane-3.data ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/alkane-3.data], 0, [ignore], [ignore])
     63AT_CHECK([output=BondFragment_Energy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
     64AT_CHECK([output=BondFragment_Forces.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
     65AT_CHECK([output=BondFragment_Times.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
     66AT_CHECK([output=BondFragment_Eigenvalues.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
     67AT_CHECK([output=BondFragment_Eigenhistogram.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
     68AT_CHECK([output=BondFragment_IndexedEnergy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
    6969AT_CHECK([grep "File contains long-range information" stderr], 0, [ignore], [ignore], [
    70         AT_CHECK([output=BondFragment_LongRangeEnergy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/$output], 0, [ignore], [ignore])
     70        AT_CHECK([output=BondFragment_LongRangeEnergy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/OBC/$output], 0, [ignore], [ignore])
    7171        ])
    7272
    7373AT_CLEANUP
     74
     75#
     76# BondFragmentLongRangeResults.dat is created like this:
     77# ./molecuilder -i pre/alkane-3.pdb --change-box 20,0,20,0,0,20 --set-parser-parameters mpqc --parser-parameters "theory=CLHF;basis=6-31G;" --set-boundary-conditions Wrap Wrap Wrap --update-molecules --select-all-atoms --fragment-molecule BondFragment --DoSaturate 1 --ExcludeHydrogen 1 --distance 2. --order 6 --fragment-automation --DoLongrange 1 --DoValenceOnly 0 --grid-level 4 --near-field-cells 3 --server-address 127.0.0.1 --server-port 1026 --fragment-resultfile BondFragmentLongRangeResults.dat
     78
     79AT_SETUP([Fragmentation - Analyse long-range fragmentation results with PBC])
     80AT_KEYWORDS([fragmentation analyse-fragment-results])
     81
     82file=BondFragmentLongRangeResults_PBC.dat
     83AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/pre/$file $file], 0)
     84AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
     85AT_CHECK([../../molecuilder -i ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/pre/alkane-3.pdb -o tremolo --set-tremolo-atomdata "Id type x=3 u=3 F=3" --reset 1 --analyse-fragment-results --fragment-resultfile $file], 0, [ignore], [stderr])
     86#AT_CHECK([diff alkane-3.data ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/alkane-3.data], 0, [ignore], [ignore])
     87AT_CHECK([output=BondFragment_Energy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     88AT_CHECK([output=BondFragment_Forces.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     89AT_CHECK([output=BondFragment_Times.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     90AT_CHECK([output=BondFragment_Eigenvalues.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     91AT_CHECK([output=BondFragment_Eigenhistogram.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     92AT_CHECK([output=BondFragment_IndexedEnergy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     93AT_CHECK([grep "File contains long-range information" stderr], 0, [ignore], [ignore], [
     94        AT_CHECK([output=BondFragment_LongRangeEnergy.dat; diff $output ${abs_top_srcdir}/tests/regression/Fragmentation/AnalyseFragmentationResults/post/LongRange/PBC/$output], 0, [ignore], [ignore])
     95        ])
     96
     97AT_CLEANUP
Note: See TracChangeset for help on using the changeset viewer.