Changeset b8f2ea for tests/regression/Potential
- Timestamp:
- Feb 9, 2016, 7:10:23 AM (9 years ago)
- 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:
- b40690
- Parents:
- 08111a
- git-author:
- Frederik Heber <heber@…> (02/08/16 17:00:06)
- git-committer:
- Frederik Heber <heber@…> (02/09/16 07:10:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/regression/Potential/FitPotential/testsuite-potential-fit-potential.at
r08111a rb8f2ea 36 36 --potential-charges 8 1 \ 37 37 --fragment-charges 1 8 1 \ 38 --set-threshold 1e-6 \38 --set-threshold 5e-6 \ 39 39 --save-potentials length.potentials], 0, [stdout], [ignore]) 40 40 # check that L_2 error is below 1e-6 41 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 1e-6) exit 1}'], 0, [ignore], [ignore])41 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 5e-6) exit 1}'], 0, [ignore], [ignore]) 42 42 # check parameters to printed precision 43 AT_CHECK([grep "morse:.*particle_type1=8,.*particle_type2=1,.*spring_constant=1.2 7.*,.*equilibrium_distance=1.78.*,.*dissociation_energy=0.19.*;" length.potentials], 0, [ignore], [ignore])43 AT_CHECK([grep "morse:.*particle_type1=8,.*particle_type2=1,.*spring_constant=1.2.*,.*equilibrium_distance=1.7.*,.*dissociation_energy=0.19.*;" length.potentials], 0, [ignore], [ignore]) 44 44 45 45 AT_CLEANUP … … 62 62 --potential-charges 8 1 \ 63 63 --fragment-charges 1 8 1 \ 64 --set-threshold 1e-6 \64 --set-threshold 5e-6 \ 65 65 --save-potentials harmonic.potentials], 0, [stdout], [ignore]) 66 # check that L_2 error is below 1e-667 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 1e-6) exit 1}'], 0, [ignore], [ignore])66 # check that L_2 error is below 5e-6 67 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 5e-6) exit 1}'], 0, [ignore], [ignore]) 68 68 # check parameters to printed precision 69 69 AT_CHECK([grep "harmonic_bond:.*particle_type1=8,.*particle_type2=1,.*spring_constant=0.29.*,.*equilibrium_distance=1.8.*;" harmonic.potentials], 0, [ignore], [ignore]) … … 114 114 --potential-charges 6 6 6 6 \ 115 115 --fragment-charges 6 6 6 6 1 1 1 1 1 1 1 1 1 1 \ 116 --set-threshold 2e-10\116 --set-threshold 1e-9 \ 117 117 --save-potentials torsion.potentials], 0, [stdout], [ignore]) 118 118 # check that L_2 error is below 9e-12 ... just 2e-10 otherwise test takes tooo long 119 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 2e-10) exit 1}'], 0, [ignore], [ignore])119 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 1e-9) exit 1}'], 0, [ignore], [ignore]) 120 120 AT_CHECK([grep "torsion:.*particle_type1=6,.*particle_type2=6,.*particle_type3=6,.*particle_type4=6,.*spring_constant=.*,.*equilibrium_distance=.*;" torsion.potentials], 0, [ignore], [ignore]) 121 121 #AT_CHECK([grep "torsion:.*particle_type1=6,.*particle_type2=6,.*particle_type3=6,.*particle_type4=6,.*spring_constant=0.001.*,.*equilibrium_distance=0.99.*;" torsion.potentials], 0, [ignore], [ignore]) … … 167 167 --potential-charges 18 18 \ 168 168 --fragment-charges 18 18 \ 169 --set-threshold 7e- 9\169 --set-threshold 7e-8 \ 170 170 --save-potentials lj.potentials], 0, [stdout], [ignore]) 171 # check that L_2 error is below 7e-11 ... just 7e- 9otherwise test takes too long172 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 7e- 9) exit 1}'], 0, [ignore], [ignore])171 # check that L_2 error is below 7e-11 ... just 7e-8 otherwise test takes too long 172 AT_CHECK([grep "Best parameters with L2 error" stdout | awk '{if ($8 > 7e-8) exit 1}'], 0, [ignore], [ignore]) 173 173 # check parameters to printed precision 174 174 AT_CHECK([grep "lennardjones:.*particle_type1=18,.*particle_type2=18,.*epsilon=.*,.*sigma=.*;" lj.potentials], 0, [ignore], [ignore])
Note:
See TracChangeset
for help on using the changeset viewer.