Changeset a1d1dd


Ignore:
Timestamp:
Aug 16, 2014, 3:52:30 PM (10 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:
5d5550
Parents:
bac32f
git-author:
Frederik Heber <heber@…> (07/30/14 18:50:13)
git-committer:
Frederik Heber <heber@…> (08/16/14 15:52:30)
Message:

Added SaturationDistanceMaximizer to determine best alphas for SaturatedBonds.

  • also added simple unit tests that ascertains that with just degree 1 bonds nothing happens.
Location:
src/Fragmentation
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/unittests/Makefile.am

    rbac32f ra1d1dd  
    44FRAGMENTATIONEXPORTERSSOURCES = \
    55        ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.cpp \
    6         ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.cpp
     6        ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.cpp \
     7        ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.cpp
    78
    89FRAGMENTATIONEXPORTERSTESTSHEADERS = \
    910        ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.hpp \
    10         ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.hpp
     11        ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.hpp \
     12        ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.hpp
    1113
    1214FRAGMENTATIONEXPORTERSTESTS = \
    1315        HydrogenPoolUnitTest \
    14         SaturatedFragmentUnitTest
     16        SaturatedFragmentUnitTest \
     17        SaturationDistanceMaximizerUnitTest
    1518
    1619TESTS += $(FRAGMENTATIONEXPORTERSTESTS)
     
    3740        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    3841        ${FRAGMENTATIONEXPORTERSLIBS}
     42
     43SaturationDistanceMaximizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     44        ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.cpp \
     45        ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.hpp \
     46        ../Fragmentation/Exporters/unittests/stubs/SaturatedBondStub.cpp
     47SaturationDistanceMaximizerUnitTest_LDADD = \
     48        ../libMolecuilderUI.la  \
     49        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
     50        ${FRAGMENTATIONEXPORTERSLIBS}
    3951       
    4052
  • src/Fragmentation/Makefile.am

    rbac32f ra1d1dd  
    99        Fragmentation/Exporters/SaturatedBond.cpp \
    1010        Fragmentation/Exporters/SaturatedFragment.cpp \
     11        Fragmentation/Exporters/SaturationDistanceMaximizer.cpp \
    1112        Fragmentation/Homology/FragmentEdge.cpp \
    1213        Fragmentation/Homology/FragmentNode.cpp \
     
    3637        Fragmentation/Exporters/SaturatedBond.hpp \
    3738        Fragmentation/Exporters/SaturatedFragment.hpp \
     39        Fragmentation/Exporters/SaturationDistanceMaximizer.hpp \
    3840        Fragmentation/Homology/FragmentEdge.hpp \
    3941        Fragmentation/Homology/FragmentNode.hpp \
Note: See TracChangeset for help on using the changeset viewer.