Changeset 48d20d for src/Actions


Ignore:
Timestamp:
May 3, 2013, 11:58:26 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:
661d2d
Parents:
57f14c
git-author:
Frederik Heber <heber@…> (04/09/13 07:44:29)
git-committer:
Frederik Heber <heber@…> (05/03/13 11:58:26)
Message:

Added new action FitPotentialAction to fit empirical potentials.

  • moved functionality from levmartester into new Action.
  • removed levmartester.
  • needs both enable-levmar and path to libs/include with-levmar. This allows checking as distinct enable switch.
  • added regression test Fragmentation/FitPotential for morse and harmonic_angle fit to water molecule. Using awk to check on L2 error.
  • added take-best-of option such that fits is done as many times and best (in terms of l2 error) is used. This should make regression test FitPotential more stable (right now we take best of 5).
  • DOCU: extended construct documentation due to new PotentialTypes construct.
  • DOCU: made construct lists items appear alphabetically.
  • DOCU: extended installation documentation with VTK and levmar.
  • DOCU: also URLs for scafacos, VTK, and levmar.
Location:
src/Actions
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/GlobalListOfActions.hpp

    r57f14c r48d20d  
    122122  (SelectionNotAllShapes) \
    123123  (SelectionNotShapeByName) \
     124  (FragmentationAnalyseFragmentationResults) \
    124125  (FragmentationFragmentation) \
    125   (FragmentationAnalyseFragmentationResults) \
    126126  (FragmentationStoreSaturatedFragment) \
    127127  (FillRegularGrid) \
     
    136136// we need to append the automation action in case we have the JobMarket
    137137#ifdef HAVE_JOBMARKET
    138 #define GLOBALLISTOFACTIONS \
     138#define GLOBALLISTOFACTIONS_JOBMARKET \
    139139    BOOST_PP_SEQ_PUSH_BACK( \
    140140        BOOST_PP_SEQ_PUSH_BACK( \
     
    145145    )
    146146#else
    147 #define GLOBALLISTOFACTIONS \
     147#define GLOBALLISTOFACTIONS_JOBMARKET \
    148148    GLOBALLISTOFACTIONS_initial
    149149#endif /* HAVE_JOBMARKET */
    150150
     151#ifdef HAVE_LEVMAR
     152#define GLOBALLISTOFACTIONS_LEVMAR \
     153    BOOST_PP_SEQ_PUSH_BACK( \
     154        GLOBALLISTOFACTIONS_JOBMARKET, \
     155        FragmentationFitPotential \
     156    )
     157#else
     158#define GLOBALLISTOFACTIONS_LEVMAR \
     159    GLOBALLISTOFACTIONS_JOBMARKET
     160#endif /* HAVE_LEVMAR */
     161
     162// define final list
     163#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_LEVMAR
     164
    151165#endif /* GLOBALLISTOFACTIONS_HPP_ */
    152166
  • src/Actions/Makefile.am

    r57f14c r48d20d  
    234234  Actions/FragmentationAction/ParseFragmentJobsAction.def
    235235endif
     236
     237if CONDLEVMAR
     238FRAGMENTATIONACTIONSOURCE += \
     239  Actions/FragmentationAction/FitPotentialAction.cpp
     240FRAGMENTATIONACTIONHEADER += \
     241  Actions/FragmentationAction/FitPotentialAction.hpp
     242FRAGMENTATIONACTIONDEFS += \
     243  Actions/FragmentationAction/FitPotentialAction.def
     244endif
     245
    236246
    237247GRAPHACTIONSOURCE = \
     
    543553libMolecuilderActionPrototypes_la_CPPFLAGS += $(JobMarket_CFLAGS)
    544554endif
     555if CONDLEVMAR
     556libMolecuilderActionPrototypes_la_CPPFLAGS += $(LEVMAR_CPPFLAGS)
     557endif
    545558libMolecuilderActions_la_includedir = $(includedir)/MoleCuilder/
    546559libMolecuilderActionPrototypes_la_includedir = $(includedir)/MoleCuilder/
Note: See TracChangeset for help on using the changeset viewer.