Changeset 1ee3b8d


Ignore:
Timestamp:
Feb 3, 2011, 9:59:28 AM (14 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:
0275ad
Parents:
6ff0c8
git-author:
Frederik Heber <heber@…> (01/06/11 12:30:08)
git-committer:
Frederik Heber <heber@…> (02/03/11 09:59:28)
Message:

Made RandomNumbers sources into its own library libMolecuilderRandomNumbers.

  • this makes the unit test stuff fast, they use the new lib and not recompiled modules.
  • lib is included in Actions, Descriptors, Parser and general unittests, also as a dependency for LinearAlgebra lib.
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r6ff0c8 r1ee3b8d  
    220220        src/LinearAlgebra/Makefile
    221221        src/Parser/Makefile
     222  src/RandomNumbers/Makefile
    222223  src/Shapes/Makefile
    223224        src/UIElements/Makefile
  • src/Actions/unittests/Makefile.am

    r6ff0c8 r1ee3b8d  
    2121        ../../LinearAlgebra/libMolecuilderLinearAlgebra.la \
    2222        ../../Exceptions/libMolecuilderExceptions.la \
     23        ../../RandomNumbers/libMolecuilderRandomNumbers.la \
    2324        ${CodePatterns_LIBS} \
    2425        $(BOOST_LIB)
  • src/Descriptors/unittests/Makefile.am

    r6ff0c8 r1ee3b8d  
    1919        ../../LinearAlgebra/libMolecuilderLinearAlgebra.la \
    2020        ../../Exceptions/libMolecuilderExceptions.la \
     21        ../../RandomNumbers/libMolecuilderRandomNumbers.la \
    2122        ${CodePatterns_LIBS} \
    2223        $(BOOST_LIB)
  • src/LinearAlgebra/Makefile.am

    r6ff0c8 r1ee3b8d  
    5454libMolecuilderLinearAlgebra_la_LIBADD = \
    5555        ../Exceptions/libMolecuilderExceptions.la \
     56        ../RandomNumbers/libMolecuilderRandomNumbers.la \
    5657        $(GSL_LIBS)
    5758nobase_libMolecuilderLinearAlgebra_la_include_HEADERS = ${LINALGHEADER}
  • src/Makefile.am

    r6ff0c8 r1ee3b8d  
    44SUBDIRS = \
    55        Exceptions \
     6        RandomNumbers \
    67        Parser \
    78        LinearAlgebra \
     
    122123  Descriptors/MoleculeSelectionDescriptor_impl.hpp
    123124
    124 RANDOMSOURCE = \
    125         RandomNumbers/RandomNumberDistribution_Encapsulation.cpp \
    126         RandomNumbers/RandomNumberDistributionFactory.cpp \
    127         RandomNumbers/RandomNumberEngine_Encapsulation.cpp \
    128         RandomNumbers/RandomNumberEngineFactory.cpp \
    129         RandomNumbers/RandomNumberGenerator.cpp \
    130         RandomNumbers/RandomNumberGeneratorFactory.cpp
    131 
    132 RANDOMHEADER = \
    133         RandomNumbers/RandomNumberDistribution.hpp \
    134         RandomNumbers/RandomNumberDistribution_Encapsulation.hpp \
    135         RandomNumbers/RandomNumberDistributionFactory.hpp \
    136         RandomNumbers/RandomNumberEngine.hpp \
    137         RandomNumbers/RandomNumberEngine_Encapsulation.hpp \
    138         RandomNumbers/RandomNumberEngineFactory.hpp \
    139         RandomNumbers/RandomNumberGenerator.hpp \
    140         RandomNumbers/RandomNumberGenerator_Encapsulation.hpp \
    141         RandomNumbers/RandomNumberGeneratorFactory.hpp \
    142         RandomNumbers/TemplatePowerSetGenerator.hpp \
    143         RandomNumbers/EmptyPrototypeTable.hpp
    144  
    145125THERMOSTATSOURCE = \
    146126  Thermostats/Berendsen.cpp \
     
    332312        LinearAlgebra/libMolecuilderLinearAlgebra.la \
    333313        Exceptions/libMolecuilderExceptions.la \
     314        RandomNumbers/libMolecuilderRandomNumbers.la \
    334315        ${CodePatterns_LIBS} \
    335316        $(BOOST_LIB)
     
    352333        LinearAlgebra/libMolecuilderLinearAlgebra.la \
    353334        Exceptions/libMolecuilderExceptions.la \
     335        RandomNumbers/libMolecuilderRandomNumbers.la \
    354336        ${CodePatterns_LIBS} \
    355337        $(BOOST_LIB) \
     
    365347        LinearAlgebra/libMolecuilderLinearAlgebra.la \
    366348        Exceptions/libMolecuilderExceptions.la \
     349        RandomNumbers/libMolecuilderRandomNumbers.la \
    367350        ${CodePatterns_LIBS} \
    368351        $(BOOST_LIB)
     
    377360        LinearAlgebra/libMolecuilderLinearAlgebra.la \
    378361        Exceptions/libMolecuilderExceptions.la \
     362        RandomNumbers/libMolecuilderRandomNumbers.la \
    379363        ${CodePatterns_LIBS} \
    380364        $(BOOST_LIB)
     
    412396        echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
    413397
    414 MOSTLYCLEANFILES = unity.cpp 
    415        
     398MOSTLYCLEANFILES = unity.cpp
     399
  • src/Parser/unittests/Makefile.am

    r6ff0c8 r1ee3b8d  
    2020        ../../LinearAlgebra/libMolecuilderLinearAlgebra.la \
    2121        ../../Exceptions/libMolecuilderExceptions.la \
     22        ../../RandomNumbers/libMolecuilderRandomNumbers.la \
    2223        ${CodePatterns_LIBS} \
    2324        $(BOOST_LIB)
  • src/RandomNumbers/unittests/Makefile.am

    r6ff0c8 r1ee3b8d  
    1919BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
    2020GSLLIBS = \
    21         ../../Shapes/libMolecuilderShapes.la \
    22         ../../LinearAlgebra/libMolecuilderLinearAlgebra.la \
    23         ../../Exceptions/libMolecuilderExceptions.la \
    2421        ${CodePatterns_LIBS} \
    2522        $(BOOST_LIB)
    2623
    27 ALLLIBS = \
    28         ../../UIElements/libMolecuilderUI.la \
    29         ../../Actions/libMolecuilderActions.la \
    30         ${PARSERLIBS} \
    31         ../../libMolecuilder.la \
    32         ${GSLLIBS}
    33 
    34 PARSERLIBS = ../../Parser/libMolecuilderParser.la
    35 
    3624RandomNumberDistributionFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    3725        RandomNumberDistributionFactoryUnitTest.cpp \
    38         RandomNumberDistributionFactoryUnitTest.hpp \
    39         $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
    40         $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
    41         $(srcdir)/../RandomNumberDistributionFactory.cpp \
    42         $(srcdir)/../RandomNumberDistributionFactory.hpp
    43 RandomNumberDistributionFactoryUnitTest_LDADD = ${GSLLIBS}
     26        RandomNumberDistributionFactoryUnitTest.hpp
     27RandomNumberDistributionFactoryUnitTest_LDADD = ${GSLLIBS} \
     28        ../../RandomNumbers/libMolecuilderRandomNumbers.la
    4429
    4530RandomNumberEngineFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    4631        RandomNumberEngineFactoryUnitTest.cpp \
    47         RandomNumberEngineFactoryUnitTest.hpp \
    48         $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
    49         $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
    50         $(srcdir)/../RandomNumberEngineFactory.cpp \
    51         $(srcdir)/../RandomNumberEngineFactory.hpp
    52 RandomNumberEngineFactoryUnitTest_LDADD = ${GSLLIBS}
     32        RandomNumberEngineFactoryUnitTest.hpp
     33RandomNumberEngineFactoryUnitTest_LDADD = ${GSLLIBS} \
     34        ../../RandomNumbers/libMolecuilderRandomNumbers.la
    5335
    5436RandomNumberGeneratorFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    5537        RandomNumberGeneratorFactoryUnitTest.cpp \
    56         RandomNumberGeneratorFactoryUnitTest.hpp \
    57         $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
    58         $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
    59         $(srcdir)/../RandomNumberDistributionFactory.cpp \
    60         $(srcdir)/../RandomNumberDistributionFactory.hpp \
    61         $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
    62         $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
    63         $(srcdir)/../RandomNumberEngineFactory.cpp \
    64         $(srcdir)/../RandomNumberEngineFactory.hpp \
    65         $(srcdir)/../RandomNumberGenerator.cpp \
    66         $(srcdir)/../RandomNumberGeneratorFactory.cpp \
    67         $(srcdir)/../RandomNumberGeneratorFactory.hpp
    68 RandomNumberGeneratorFactoryUnitTest_LDADD = ${GSLLIBS}
     38        RandomNumberGeneratorFactoryUnitTest.hpp
     39RandomNumberGeneratorFactoryUnitTest_LDADD = ${GSLLIBS} \
     40        ../../RandomNumbers/libMolecuilderRandomNumbers.la
    6941
    7042RandomNumberGeneratorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    7143        RandomNumberGeneratorUnitTest.cpp \
    72         RandomNumberGeneratorUnitTest.hpp \
    73         $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
    74         $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
    75         $(srcdir)/../RandomNumberDistributionFactory.cpp \
    76         $(srcdir)/../RandomNumberDistributionFactory.hpp \
    77         $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
    78         $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
    79         $(srcdir)/../RandomNumberEngineFactory.cpp \
    80         $(srcdir)/../RandomNumberEngineFactory.hpp \
    81         $(srcdir)/../RandomNumberGenerator.cpp \
    82         $(srcdir)/../RandomNumberGeneratorFactory.cpp \
    83         $(srcdir)/../RandomNumberGeneratorFactory.hpp
    84 RandomNumberGeneratorUnitTest_LDADD = ${GSLLIBS}
     44        RandomNumberGeneratorUnitTest.hpp
     45RandomNumberGeneratorUnitTest_LDADD = ${GSLLIBS} \
     46        ../../RandomNumbers/libMolecuilderRandomNumbers.la
    8547
    8648
  • src/unittests/Makefile.am

    r6ff0c8 r1ee3b8d  
    4242        ../LinearAlgebra/libMolecuilderLinearAlgebra.la \
    4343        ../Exceptions/libMolecuilderExceptions.la \
     44        ../RandomNumbers/libMolecuilderRandomNumbers.la \
    4445        $(BOOST_LIB)
    4546ALLLIBS = \
Note: See TracChangeset for help on using the changeset viewer.