Changeset 154e88


Ignore:
Timestamp:
Jul 8, 2013, 2:22:01 PM (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:
060e1e
Parents:
2bde72
git-author:
Frederik Heber <heber@…> (05/08/13 09:52:25)
git-committer:
Frederik Heber <heber@…> (07/08/13 14:22:01)
Message:

Added CompoundPotential as container for multiple FunctionModels.

  • added unit test that uses libMolecuilderFragmentation_getFromKeysetStub.la as HomologyGraphUnitTest. Hence, we are not dependent full libMolecuilder.
  • so far, we simply test with a wrapped PairPotential_Morse.
Location:
src
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Homology/unittests/HomologyGraphUnitTest.cpp

    r2bde72 r154e88  
    4444#include <boost/archive/text_iarchive.hpp>
    4545
    46 #include "Fragmentation/Homology/HomologyGraph.hpp"
    47 #include "Fragmentation/Graph.hpp"
    48 
    4946#include "HomologyGraphUnitTest.hpp"
    5047
     
    5350#include <boost/assign.hpp>
    5451#include <sstream>
     52
     53#include "Fragmentation/Homology/HomologyGraph.hpp"
     54#include "Fragmentation/Graph.hpp"
    5555
    5656using namespace boost::assign;
  • src/Fragmentation/Homology/unittests/HomologyGraphUnitTest.hpp

    r2bde72 r154e88  
    1919#include "Fragmentation/Homology/FragmentEdge.hpp"
    2020#include "Fragmentation/Homology/FragmentNode.hpp"
    21 
    22 class HomologyGraph;
     21#include "Fragmentation/Homology/HomologyGraph.hpp"
    2322
    2423/********************************************** Test classes **************************************/
  • src/Potentials/Makefile.am

    r2bde72 r154e88  
    33
    44POTENTIALSSOURCE = \
    5   Potentials/Specifics/ManyBodyPotential_Tersoff.cpp \
     5  Potentials/CompoundPotential.cpp \
    66  Potentials/ParticleTypeCheckers.cpp \
    77  Potentials/PotentialFactory.cpp \
    88  Potentials/PotentialRegistry.cpp \
    99  Potentials/SerializablePotential.cpp \
     10  Potentials/Specifics/ManyBodyPotential_Tersoff.cpp \
    1011  Potentials/Specifics/PairPotential_Angle.cpp \
    1112  Potentials/Specifics/PairPotential_Harmonic.cpp \
     
    1516
    1617POTENTIALSHEADER = \
     18  Potentials/CompoundPotential.hpp \
    1719  Potentials/EmpiricalPotential.hpp \
    1820  Potentials/Exceptions.hpp \
  • src/Potentials/unittests/Makefile.am

    r2bde72 r154e88  
    33
    44POTENTIALSTESTSSOURCES = \
     5        ../Potentials/unittests/CompoundPotentialUnitTest.cpp \
    56        ../Potentials/unittests/SerializablePotentialUnitTest.cpp
    67
    78POTENTIALSTESTSHEADERS = \
     9        ../Potentials/unittests/CompoundPotentialUnitTest.hpp \
    810        ../Potentials/unittests/SerializablePotentialUnitTest.hpp
    911
    1012POTENTIALSTESTS = \
     13        CompoundPotentialUnitTest \
    1114        SerializablePotentialUnitTest
    1215
     
    1720POTENTIALSLIBS = \
    1821        ../libMolecuilderPotentials.la \
     22        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
     23        ${CodePatterns_LIBS} \
     24  $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
     25        $(BOOST_LIB)
     26
     27CompoundPotentialUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     28        ../Potentials/unittests/CompoundPotentialUnitTest.cpp \
     29        ../Potentials/unittests/CompoundPotentialUnitTest.hpp
     30CompoundPotentialUnitTest_LDADD = \
     31        ../libMolecuilderPotentials.la \
     32        ../libMolecuilderFragmentation.la \
     33        ../libMolecuilderFragmentationSummation.la \
     34        ../libMolecuilderFunctionApproximation.la \
     35        ../libMolecuilderFragmentation_getFromKeysetStub.la \
    1936        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    2037        ${CodePatterns_LIBS} \
Note: See TracChangeset for help on using the changeset viewer.