Ignore:
Timestamp:
Aug 12, 2013, 11:30:33 AM (12 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:
93909a
Parents:
24e19e
git-author:
Frederik Heber <heber@…> (07/26/13 09:08:31)
git-committer:
Frederik Heber <heber@…> (08/12/13 11:30:33)
Message:

Moved all FragmentationActions related to potentials into own menu and folder.

  • changed class names Fragmentation... -> Potential...
  • changed tokens in GlobalListOfActions.
  • added menu entry "potential" and CommandLineParser program_options variable.
  • moved regression tests into own folder as well and renamed folder in files.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • tests/regression/Potential/FitPotential/testsuite-potential-fit-potential.at

    r24e19e rf5724f  
    1919### fit some potentials
    2020
    21 AT_SETUP([Fragmentation - Fit morse potential to water])
    22 AT_KEYWORDS([fragmentation parse-homologies fit-potential morse])
     21AT_SETUP([Potential - Fit morse potential to water])
     22AT_KEYWORDS([potential parse-homologies fit-potential morse])
    2323AT_SKIP_IF([../../molecuilder --help --actionname fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
    2424
    2525file=length_homology.dat
    26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/FitPotential/pre/$file $file], 0)
     26AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    2727AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    2828AT_CHECK([../../molecuilder --parse-homologies $file --fit-potential --potential-type "morse" --potential-charges 8 1 --fragment-charges 1 8 1 --set-threshold 1e-6], 0, [stdout], [ignore])
     
    3434AT_CLEANUP
    3535
    36 AT_SETUP([Fragmentation - Fit harmonic potential to water])
    37 AT_KEYWORDS([fragmentation parse-homologies fit-potential harmonic])
     36AT_SETUP([Potential - Fit harmonic potential to water])
     37AT_KEYWORDS([potential parse-homologies fit-potential harmonic])
    3838AT_SKIP_IF([../../molecuilder --help --actionname fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
    3939
    4040file=harmonic_homology.dat
    41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/FitPotential/pre/$file $file], 0)
     41AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    4242AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    4343AT_CHECK([../../molecuilder --parse-homologies $file --fit-potential --potential-type "harmonic_bond" --potential-charges 8 1 --fragment-charges 1 8 1 --set-threshold 1e-6], 0, [stdout], [ignore])
     
    4949AT_CLEANUP
    5050
    51 AT_SETUP([Fragmentation - Fit harmonic_angle potential to water])
    52 AT_KEYWORDS([fragmentation parse-homologies fit-potential harmonic_angle])
     51AT_SETUP([Potential - Fit harmonic_angle potential to water])
     52AT_KEYWORDS([potential parse-homologies fit-potential harmonic_angle])
    5353AT_SKIP_IF([../../molecuilder --help --actionname fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
    5454
    5555file=angle_homology.dat
    56 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/FitPotential/pre/$file $file], 0)
     56AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    5757AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    5858AT_CHECK([../../molecuilder --parse-homologies $file --fit-potential --potential-type "harmonic_angle" --potential-charges 1 8 1 --fragment-charges 1 8 1 --set-threshold 1e-6], 0, [stdout], [ignore])
     
    6464AT_CLEANUP
    6565
    66 AT_SETUP([Fragmentation - Fit torsion potential to butane])
    67 AT_KEYWORDS([fragmentation parse-homologies fit-potential torsion])
     66AT_SETUP([Potential - Fit torsion potential to butane])
     67AT_KEYWORDS([potential parse-homologies fit-potential torsion])
    6868AT_SKIP_IF([../../molecuilder --help --actionname fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
    6969
    7070file=torsion_homology.dat
    71 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/FitPotential/pre/$file $file], 0)
     71AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    7272AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    7373AT_CHECK([../../molecuilder --parse-homologies $file --fit-potential --potential-type "torsion" --potential-charges 6 6 6 6 --fragment-charges 6 6 6 6 1 1 1 1 1 1 1 1 1 1 --set-threshold 9e-12], 0, [stdout], [ignore])
     
    7878AT_CLEANUP
    7979
    80 AT_SETUP([Fragmentation - Fit improper potential to ammonia])
    81 AT_KEYWORDS([fragmentation parse-homologies fit-potential improper])
     80AT_SETUP([Potential - Fit improper potential to ammonia])
     81AT_KEYWORDS([potential parse-homologies fit-potential improper])
    8282AT_XFAIL_IF([/bin/true])
    8383AT_SKIP_IF([../../molecuilder --help --actionname fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
    8484
    8585file=improper_homology.dat
    86 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/FitPotential/pre/$file $file], 0)
     86AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    8787AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    8888AT_CHECK([../../molecuilder --parse-homologies $file --fit-potential --potential-type "improper" --potential-charges 1 7 1 1 --fragment-charges 7 1 1 1 --set-threshold 3e-4], 0, [stdout], [ignore])
     
    9494AT_CLEANUP
    9595
    96 AT_SETUP([Fragmentation - Fit LJ potential to argon])
    97 AT_KEYWORDS([fragmentation parse-homologies fit-potential lennardjones])
     96AT_SETUP([Potential - Fit LJ potential to argon])
     97AT_KEYWORDS([potential parse-homologies fit-potential lennardjones])
    9898AT_SKIP_IF([../../molecuilder --help --actionname fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
    9999
    100100file=lj_homology.dat
    101 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Fragmentation/FitPotential/pre/$file $file], 0)
     101AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    102102AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    103103AT_CHECK([../../molecuilder --parse-homologies $file --fit-potential --potential-type "lennardjones" --potential-charges 18 18 --fragment-charges 18 18 --set-threshold 7e-11], 0, [stdout], [ignore])
Note: See TracChangeset for help on using the changeset viewer.