Changeset 3bdb6d


Ignore:
Timestamp:
Oct 17, 2011, 4:18:54 PM (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:
592be9
Parents:
2fadb6f
git-author:
Frederik Heber <heber@…> (09/16/11 10:07:33)
git-committer:
Frederik Heber <heber@…> (10/17/11 16:18:54)
Message:

Moved all stuff related to elements into own subfolder and has its own convenience library.

  • this induced massive changes in includes in other files.
  • we adapted PeriodentafelUnitTest to not get instance from world, but we create it ourselves.
  • also moved all .db files related to elements into subfolder Element/.
Location:
src
Files:
1 added
78 edited
11 moved

Legend:

Unmodified
Added
Removed
  • src/Actions/AnalysisAction/DipoleAngularCorrelationAction.cpp

    r2fadb6f r3bdb6d  
    2525#include "CodePatterns/Verbose.hpp"
    2626#include "CodePatterns/Log.hpp"
    27 #include "element.hpp"
     27#include "Element/element.hpp"
    2828#include "molecule.hpp"
    29 #include "periodentafel.hpp"
     29#include "Element/periodentafel.hpp"
    3030#include "LinearAlgebra/Vector.hpp"
    3131#include "World.hpp"
  • src/Actions/AnalysisAction/PairCorrelationAction.cpp

    r2fadb6f r3bdb6d  
    2525#include "CodePatterns/Verbose.hpp"
    2626#include "CodePatterns/Log.hpp"
    27 #include "element.hpp"
     27#include "Element/element.hpp"
    2828#include "molecule.hpp"
    29 #include "periodentafel.hpp"
     29#include "Element/periodentafel.hpp"
    3030#include "LinearAlgebra/Vector.hpp"
    3131#include "World.hpp"
  • src/Actions/AnalysisAction/PointCorrelationAction.cpp

    r2fadb6f r3bdb6d  
    2525#include "CodePatterns/Verbose.hpp"
    2626#include "CodePatterns/Log.hpp"
    27 #include "element.hpp"
     27#include "Element/element.hpp"
    2828#include "molecule.hpp"
    29 #include "periodentafel.hpp"
     29#include "Element/periodentafel.hpp"
    3030#include "LinearAlgebra/Vector.hpp"
    3131#include "World.hpp"
  • src/Actions/AnalysisAction/PrincipalAxisSystemAction.cpp

    r2fadb6f r3bdb6d  
    2424#include "LinearAlgebra/RealSpaceMatrix.hpp"
    2525#include "LinearAlgebra/Vector.hpp"
    26 #include "element.hpp"
     26#include "Element/element.hpp"
    2727#include "molecule.hpp"
    2828
  • src/Actions/AnalysisAction/SurfaceCorrelationAction.cpp

    r2fadb6f r3bdb6d  
    2626#include "CodePatterns/Log.hpp"
    2727#include "Descriptors/MoleculeIdDescriptor.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "LinearAlgebra/Vector.hpp"
    3030#include "molecule.hpp"
    31 #include "periodentafel.hpp"
     31#include "Element/periodentafel.hpp"
    3232#include "PointCloudAdaptor.hpp"
    3333#include "Tesselation/tesselation.hpp"
  • src/Actions/AtomAction/AddAction.cpp

    r2fadb6f r3bdb6d  
    2222#include "Descriptors/AtomIdDescriptor.hpp"
    2323#include "atom.hpp"
    24 #include "element.hpp"
     24#include "Element/element.hpp"
    2525#include "CodePatterns/Log.hpp"
    2626#include "molecule.hpp"
  • src/Actions/AtomAction/ChangeElementAction.cpp

    r2fadb6f r3bdb6d  
    2222#include "Descriptors/AtomIdDescriptor.hpp"
    2323#include "atom.hpp"
    24 #include "element.hpp"
     24#include "Element/element.hpp"
    2525#include "CodePatterns/Log.hpp"
    2626#include "LinearAlgebra/Vector.hpp"
  • src/Actions/CommandAction/ElementDbAction.cpp

    r2fadb6f r3bdb6d  
    2525
    2626#include "config.hpp"
    27 #include "element.hpp"    // we need element because of serialization!
    28 #include "periodentafel.hpp"
     27#include "Element/element.hpp"    // we need element because of serialization!
     28#include "Element/periodentafel.hpp"
    2929#include "CodePatterns/Log.hpp"
    3030#include "CodePatterns/Verbose.hpp"
  • src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.cpp

    r2fadb6f r3bdb6d  
    2525#include "LinearAlgebra/RealSpaceMatrix.hpp"
    2626#include "LinearAlgebra/Vector.hpp"
    27 #include "element.hpp"
     27#include "Element/element.hpp"
    2828#include "molecule.hpp"
    2929
  • src/Actions/SelectionAction/Atoms/AtomByElementAction.cpp

    r2fadb6f r3bdb6d  
    2323#include "Descriptors/AtomSelectionDescriptor.hpp"
    2424#include "atom.hpp"
    25 #include "element.hpp"
     25#include "Element/element.hpp"
    2626#include "CodePatterns/Log.hpp"
    2727#include "CodePatterns/Verbose.hpp"
  • src/Actions/SelectionAction/Atoms/NotAtomByElementAction.cpp

    r2fadb6f r3bdb6d  
    2323#include "Descriptors/AtomTypeDescriptor.hpp"
    2424#include "atom.hpp"
    25 #include "element.hpp"
     25#include "Element/element.hpp"
    2626#include "CodePatterns/Log.hpp"
    2727#include "CodePatterns/Verbose.hpp"
  • src/Actions/ValueStorage.cpp

    r2fadb6f r3bdb6d  
    3737#include "atom.hpp"
    3838#include "Box.hpp"
    39 #include "element.hpp"
     39#include "Element/element.hpp"
    4040#include "molecule.hpp"
    41 #include "periodentafel.hpp"
     41#include "Element/periodentafel.hpp"
    4242#include "World.hpp"
    4343
  • src/Analysis/analysis_bonds.cpp

    r2fadb6f r3bdb6d  
    2323#include "atom.hpp"
    2424#include "Bond/bond.hpp"
    25 #include "element.hpp"
     25#include "Element/element.hpp"
    2626#include "CodePatterns/Info.hpp"
    2727#include "CodePatterns/Verbose.hpp"
  • src/Analysis/analysis_correlation.cpp

    r2fadb6f r3bdb6d  
    2727#include "Tesselation/BoundaryTriangleSet.hpp"
    2828#include "Box.hpp"
    29 #include "element.hpp"
     29#include "Element/element.hpp"
    3030#include "CodePatterns/Info.hpp"
    3131#include "CodePatterns/Log.hpp"
  • src/Analysis/unittests/AnalysisBondsUnitTest.cpp

    r2fadb6f r3bdb6d  
    3131#include "atom.hpp"
    3232#include "Bond/bond.hpp"
    33 #include "element.hpp"
     33#include "Element/element.hpp"
    3434#include "Graph/BondGraph.hpp"
    3535#include "molecule.hpp"
    36 #include "periodentafel.hpp"
     36#include "Element/periodentafel.hpp"
    3737#include "LinearAlgebra/Vector.hpp"
    3838#include "World.hpp"
  • src/Analysis/unittests/AnalysisCorrelationToPointUnitTest.cpp

    r2fadb6f r3bdb6d  
    3131
    3232#include "atom.hpp"
    33 #include "element.hpp"
     33#include "Element/element.hpp"
    3434#include "molecule.hpp"
    3535#include "linkedcell.hpp"
    36 #include "periodentafel.hpp"
     36#include "Element/periodentafel.hpp"
    3737#include "World.hpp"
    3838
  • src/Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp

    r2fadb6f r3bdb6d  
    3131#include "CodePatterns/Assert.hpp"
    3232#include "Descriptors/MoleculeDescriptor.hpp"
    33 #include "element.hpp"
     33#include "Element/element.hpp"
    3434#include "molecule.hpp"
    3535#include "linkedcell.hpp"
    36 #include "periodentafel.hpp"
     36#include "Element/periodentafel.hpp"
    3737#include "PointCloudAdaptor.hpp"
    3838#include "Tesselation/tesselation.hpp"
  • src/Analysis/unittests/AnalysisPairCorrelationUnitTest.cpp

    r2fadb6f r3bdb6d  
    3232#include "atom.hpp"
    3333#include "Tesselation/boundary.hpp"
    34 #include "element.hpp"
     34#include "Element/element.hpp"
    3535#include "molecule.hpp"
    3636#include "linkedcell.hpp"
    37 #include "periodentafel.hpp"
     37#include "Element/periodentafel.hpp"
    3838#include "Tesselation/tesselation.hpp"
    3939#include "World.hpp"
  • src/Analysis/unittests/CountBondsUnitTest.cpp

    r2fadb6f r3bdb6d  
    3333#include "atom.hpp"
    3434#include "Bond/bond.hpp"
    35 #include "element.hpp"
     35#include "Element/element.hpp"
    3636#include "Graph/BondGraph.hpp"
    3737#include "molecule.hpp"
    38 #include "periodentafel.hpp"
     38#include "Element/periodentafel.hpp"
    3939#include "World.hpp"
    4040
  • src/AtomicInfo.cpp

    r2fadb6f r3bdb6d  
    2222#include "atom.hpp"
    2323#include "AtomicInfo.hpp"
    24 #include "element.hpp"
     24#include "Element/element.hpp"
    2525#include "LinearAlgebra/Vector.hpp"
    2626
  • src/Bond/bond.cpp

    r2fadb6f r3bdb6d  
    2323#include "atom.hpp"
    2424#include "Bond/bond.hpp"
    25 #include "element.hpp"
     25#include "Element/element.hpp"
    2626
    2727
  • src/Descriptors/AtomTypeDescriptor.cpp

    r2fadb6f r3bdb6d  
    2525#include "atom.hpp"
    2626#include "World.hpp"
    27 #include "periodentafel.hpp"
     27#include "Element/periodentafel.hpp"
    2828
    2929AtomTypeDescriptor_impl::AtomTypeDescriptor_impl(const element* _type) :
  • src/Dynamics/MinimiseConstrainedPotential.cpp

    r2fadb6f r3bdb6d  
    2626#include "atom.hpp"
    2727#include "config.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "CodePatterns/enumeration.hpp"
    3030#include "CodePatterns/Info.hpp"
  • src/Formula.cpp

    r2fadb6f r3bdb6d  
    2525
    2626#include "World.hpp"
    27 #include "periodentafel.hpp"
    28 #include "element.hpp"
     27#include "Element/periodentafel.hpp"
     28#include "Element/element.hpp"
    2929#include "CodePatterns/Assert.hpp"
    3030#include "CodePatterns/Range.hpp"
  • src/Fragmentation/analyzer.cpp

    r2fadb6f r3bdb6d  
    2929#include "datacreator.hpp"
    3030#include "parser.hpp"
    31 #include "periodentafel.hpp"
     31#include "Element/periodentafel.hpp"
    3232#include "CodePatterns/Log.hpp"
    3333#include "CodePatterns/Verbose.hpp"
  • src/Fragmentation/joiner.cpp

    r2fadb6f r3bdb6d  
    2727#include "datacreator.hpp"
    2828#include "parser.hpp"
    29 #include "periodentafel.hpp"
     29#include "Element/periodentafel.hpp"
    3030#include "CodePatterns/Log.hpp"
    3131#include "CodePatterns/Verbose.hpp"
  • src/Graph/BondGraph.cpp

    r2fadb6f r3bdb6d  
    2626#include "Graph/BondGraph.hpp"
    2727#include "Box.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "CodePatterns/Info.hpp"
    3030#include "CodePatterns/Log.hpp"
     
    3333#include "molecule.hpp"
    3434#include "Fragmentation/parser.hpp"
    35 #include "periodentafel.hpp"
     35#include "Element/periodentafel.hpp"
    3636#include "LinearAlgebra/Vector.hpp"
    3737#include "World.hpp"
  • src/Graph/BondGraph.hpp

    r2fadb6f r3bdb6d  
    2626#include "CodePatterns/Range.hpp"
    2727#include "CodePatterns/Verbose.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "linkedcell.hpp"
    3030#include "IPointCloud.hpp"
  • src/Graph/CyclicStructureAnalysis.cpp

    r2fadb6f r3bdb6d  
    2828#include "CodePatterns/Log.hpp"
    2929#include "CodePatterns/Verbose.hpp"
    30 #include "element.hpp"
     30#include "Element/element.hpp"
    3131#include "molecule.hpp"
    3232
  • src/Graph/unittests/BondGraphUnitTest.cpp

    r2fadb6f r3bdb6d  
    3333#include "Bond/bond.hpp"
    3434#include "CodePatterns/Log.hpp"
    35 #include "element.hpp"
     35#include "Element/element.hpp"
    3636#include "Graph/BondGraph.hpp"
    3737#include "molecule.hpp"
    38 #include "periodentafel.hpp"
     38#include "Element/periodentafel.hpp"
    3939#include "World.hpp"
    4040#include "WorldTime.hpp"
  • src/Makefile.am

    r2fadb6f r3bdb6d  
    99include Actions/Makefile.am
    1010include Analysis/Makefile.am
     11include Element/Makefile.am
    1112include Graph/Makefile.am
    1213include Helpers/Makefile.am
     
    175176  config.cpp \
    176177  ConfigFileBuffer.cpp \
    177   element.cpp \
    178   elements_db.cpp \
    179178  Formula.cpp \
    180179  graph.cpp \
     
    185184  molecule_geometry.cpp \
    186185  molecule_graph.cpp \
    187   periodentafel.cpp \
    188186  ThermoStatContainer.cpp \
    189187  UIElements/UIFactory.cpp \
     
    204202  config.hpp \
    205203  ConfigFileBuffer.hpp \
    206   element.hpp \
    207   elements_db.hpp \
    208204  Formula.hpp \
    209205  graph.hpp \
    210206  linkedcell.hpp \
    211207  molecule.hpp \
    212   periodentafel.hpp \
    213208  ThermoStatContainer.hpp \
    214209  types.hpp \
     
    271266libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
    272267
    273 molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
     268molecuilder_DATA = Element/elements.db Element/valence.db Element/orbitals.db Element/Hbonddistance.db Element/Hbondangle.db
    274269
    275270molecuilder_CXXFLAGS = $(AM_CPPFLAGS)
     
    303298        $(GUI_LIBS)
    304299
    305 joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp datacreator.hpp Fragmentation/periodentafel.hpp
     300joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
    306301joiner_LDADD = \
    307302        libMolecuilder.la \
     
    309304        libMolecuilderShapes.la \
    310305        libMolecuilderHelpers.la \
     306        libMolecuilderElement.la \
    311307        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    312308        ${CodePatterns_LIBS} \
    313309        $(BOOST_THREAD_LIBS)
    314310
    315 analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp periodentafel.hpp Fragmentation/datacreator.hpp
     311analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
    316312analyzer_LDADD = \
    317313        libMolecuilder.la \
     
    319315        libMolecuilderShapes.la \
    320316        libMolecuilderHelpers.la \
     317        libMolecuilderElement.la \
    321318        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    322319        ${CodePatterns_LIBS} \
  • src/Parser/MpqcParser.cpp

    r2fadb6f r3bdb6d  
    2929#include "atom.hpp"
    3030#include "config.hpp"
    31 #include "element.hpp"
     31#include "Element/element.hpp"
    3232#include "molecule.hpp"
    3333#include "CodePatterns/Log.hpp"
     
    3535#include "CodePatterns/Verbose.hpp"
    3636#include "LinearAlgebra/Vector.hpp"
    37 #include "periodentafel.hpp"
     37#include "Element/periodentafel.hpp"
    3838#include "World.hpp"
    3939
  • src/Parser/PcpParser.cpp

    r2fadb6f r3bdb6d  
    2727#include "config.hpp"
    2828#include "ConfigFileBuffer.hpp"
    29 #include "element.hpp"
     29#include "Element/element.hpp"
    3030#include "CodePatterns/Assert.hpp"
    3131#include "CodePatterns/Log.hpp"
     
    3434#include "molecule.hpp"
    3535#include "PcpParser.hpp"
    36 #include "periodentafel.hpp"
     36#include "Element/periodentafel.hpp"
    3737#include "ThermoStatContainer.hpp"
    3838#include "World.hpp"
  • src/Parser/PdbParser.cpp

    r2fadb6f r3bdb6d  
    2828#include "atom.hpp"
    2929#include "Bond/bond.hpp"
    30 #include "element.hpp"
     30#include "Element/element.hpp"
    3131#include "molecule.hpp"
    32 #include "periodentafel.hpp"
     32#include "Element/periodentafel.hpp"
    3333#include "Descriptors/AtomIdDescriptor.hpp"
    3434#include "Parser/PdbParser.hpp"
  • src/Parser/TremoloParser.cpp

    r2fadb6f r3bdb6d  
    2929#include "atom.hpp"
    3030#include "Bond/bond.hpp"
    31 #include "element.hpp"
     31#include "Element/element.hpp"
    3232#include "molecule.hpp"
    33 #include "periodentafel.hpp"
     33#include "Element/periodentafel.hpp"
    3434#include "Descriptors/AtomIdDescriptor.hpp"
    3535#include <map>
  • src/Parser/XyzParser.cpp

    r2fadb6f r3bdb6d  
    2828#include "atom.hpp"
    2929#include "molecule.hpp"
    30 #include "element.hpp"
    31 #include "periodentafel.hpp"
     30#include "Element/element.hpp"
     31#include "Element/periodentafel.hpp"
    3232
    3333using namespace std;
  • src/Parser/unittests/ParserMpqcUnitTest.cpp

    r2fadb6f r3bdb6d  
    2828#include "World.hpp"
    2929#include "atom.hpp"
    30 #include "element.hpp"
    31 #include "periodentafel.hpp"
     30#include "Element/element.hpp"
     31#include "Element/periodentafel.hpp"
    3232#include "Descriptors/AtomTypeDescriptor.hpp"
    3333#include "CodePatterns/Assert.hpp"
  • src/Parser/unittests/ParserPcpUnitTest.cpp

    r2fadb6f r3bdb6d  
    2727#include "World.hpp"
    2828#include "atom.hpp"
    29 #include "element.hpp"
    30 #include "periodentafel.hpp"
     29#include "Element/element.hpp"
     30#include "Element/periodentafel.hpp"
    3131#include "CodePatterns/Log.hpp"
    3232#include "Descriptors/AtomTypeDescriptor.hpp"
  • src/Parser/unittests/ParserPdbUnitTest.cpp

    r2fadb6f r3bdb6d  
    2727#include "World.hpp"
    2828#include "atom.hpp"
    29 #include "element.hpp"
    30 #include "periodentafel.hpp"
     29#include "Element/element.hpp"
     30#include "Element/periodentafel.hpp"
    3131#include "CodePatterns/Log.hpp"
    3232#include "Descriptors/AtomTypeDescriptor.hpp"
  • src/Parser/unittests/ParserTremoloUnitTest.cpp

    r2fadb6f r3bdb6d  
    2626#include "atom.hpp"
    2727#include "Descriptors/AtomTypeDescriptor.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "Parser/MpqcParser.hpp"
    3030#include "Parser/PdbParser.hpp"
     
    3232#include "Parser/TremoloParser.hpp"
    3333#include "Parser/XyzParser.hpp"
    34 #include "periodentafel.hpp"
     34#include "Element/periodentafel.hpp"
    3535#include "World.hpp"
    3636#include "WorldTime.hpp"
  • src/Parser/unittests/ParserXyzUnitTest.cpp

    r2fadb6f r3bdb6d  
    2727#include "World.hpp"
    2828#include "atom.hpp"
    29 #include "element.hpp"
    30 #include "periodentafel.hpp"
     29#include "Element/element.hpp"
     30#include "Element/periodentafel.hpp"
    3131#include "CodePatterns/Log.hpp"
    3232#include "Descriptors/AtomTypeDescriptor.hpp"
  • src/Tesselation/boundary.cpp

    r2fadb6f r3bdb6d  
    3030#include "CodePatterns/Verbose.hpp"
    3131#include "config.hpp"
    32 #include "element.hpp"
     32#include "Element/element.hpp"
    3333#include "LinearAlgebra/Plane.hpp"
    3434#include "LinearAlgebra/RealSpaceMatrix.hpp"
  • src/Thermostats/Berendsen.cpp

    r2fadb6f r3bdb6d  
    1414
    1515#include "Berendsen.hpp"
    16 #include "element.hpp"
     16#include "Element/element.hpp"
    1717#include "config.hpp"
    1818#include "CodePatterns/Verbose.hpp"
  • src/Thermostats/GaussianThermostat.cpp

    r2fadb6f r3bdb6d  
    1919#include "LinearAlgebra/Vector.hpp"
    2020#include "AtomSet.hpp"
    21 #include "element.hpp"
     21#include "Element/element.hpp"
    2222#include "config.hpp"
    2323#include "World.hpp"
  • src/Thermostats/Langevin.cpp

    r2fadb6f r3bdb6d  
    1414
    1515#include "Langevin.hpp"
    16 #include "element.hpp"
     16#include "Element/element.hpp"
    1717#include "config.hpp"
    1818#include "CodePatterns/Verbose.hpp"
  • src/Thermostats/NoseHoover.cpp

    r2fadb6f r3bdb6d  
    1515#include "NoseHoover.hpp"
    1616
    17 #include "element.hpp"
     17#include "Element/element.hpp"
    1818#include "config.hpp"
    1919#include "CodePatterns/Verbose.hpp"
  • src/Thermostats/Woodcock.cpp

    r2fadb6f r3bdb6d  
    1515#include "Woodcock.hpp"
    1616
    17 #include "element.hpp"
     17#include "Element/element.hpp"
    1818#include "config.hpp"
    1919#include "CodePatterns/Verbose.hpp"
  • src/UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp

    r2fadb6f r3bdb6d  
    2424#include "CodePatterns/Log.hpp"
    2525#include "CodePatterns/Verbose.hpp"
    26 #include "element.hpp"
    27 #include "periodentafel.hpp"
     26#include "Element/element.hpp"
     27#include "Element/periodentafel.hpp"
    2828#include "World.hpp"
    2929
  • src/UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp

    r2fadb6f r3bdb6d  
    2424#include "CodePatterns/Log.hpp"
    2525#include "CodePatterns/Verbose.hpp"
    26 #include "element.hpp"
    27 #include "periodentafel.hpp"
     26#include "Element/element.hpp"
     27#include "Element/periodentafel.hpp"
    2828#include "World.hpp"
    2929
  • src/UIElements/CommandLineUI/TypeEnumContainer.cpp

    r2fadb6f r3bdb6d  
    3434#include "LinearAlgebra/BoxVector.hpp"
    3535#include "LinearAlgebra/Vector.hpp"
    36 #include "element.hpp"
     36#include "Element/element.hpp"
    3737#include "molecule.hpp"
    3838#include "RandomNumbers/RandomNumberDistribution_Parameters.hpp"
  • src/UIElements/Makefile.am

    r2fadb6f r3bdb6d  
    270270        libMolecuilderShapes.la \
    271271        libMolecuilderHelpers.la \
     272        libMolecuilderElement.la \
    272273        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    273274        libMolecuilderRandomNumbers.la \
  • src/UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp

    r2fadb6f r3bdb6d  
    2424
    2525#include "CodePatterns/MemDebug.hpp"
    26 #include "element.hpp"
    27 #include "periodentafel.hpp"
     26#include "Element/element.hpp"
     27#include "Element/periodentafel.hpp"
    2828#include "World.hpp"
    2929
  • src/UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp

    r2fadb6f r3bdb6d  
    2626
    2727#include "CodePatterns/MemDebug.hpp"
    28 #include "element.hpp"
    29 #include "periodentafel.hpp"
     28#include "Element/element.hpp"
     29#include "Element/periodentafel.hpp"
    3030#include "World.hpp"
    3131
  • src/UIElements/Qt4/Query/ElementQtQuery.cpp

    r2fadb6f r3bdb6d  
    2727#include "UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp"
    2828
    29 #include "element.hpp"
    30 #include "periodentafel.hpp"
     29#include "Element/element.hpp"
     30#include "Element/periodentafel.hpp"
    3131#include "World.hpp"
    3232
  • src/UIElements/Qt4/Query/ElementsQtQuery.cpp

    r2fadb6f r3bdb6d  
    2727#include "UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp"
    2828
    29 #include "element.hpp"
    30 #include "periodentafel.hpp"
     29#include "Element/element.hpp"
     30#include "Element/periodentafel.hpp"
    3131#include "World.hpp"
    3232
  • src/UIElements/TextUI/Query/ElementTextQuery.cpp

    r2fadb6f r3bdb6d  
    2626#include "CodePatterns/Log.hpp"
    2727#include "CodePatterns/Verbose.hpp"
    28 #include "element.hpp"
    29 #include "periodentafel.hpp"
     28#include "Element/element.hpp"
     29#include "Element/periodentafel.hpp"
    3030#include "World.hpp"
    3131
  • src/UIElements/TextUI/Query/ElementsTextQuery.cpp

    r2fadb6f r3bdb6d  
    2727#include "CodePatterns/Log.hpp"
    2828#include "CodePatterns/Verbose.hpp"
    29 #include "element.hpp"
    30 #include "periodentafel.hpp"
     29#include "Element/element.hpp"
     30#include "Element/periodentafel.hpp"
    3131#include "World.hpp"
    3232
  • src/UIElements/TextUI/TextWindow.cpp

    r2fadb6f r3bdb6d  
    4545// all needed due to config::SaveAll()
    4646#include "config.hpp"
    47 #include "periodentafel.hpp"
     47#include "Element/periodentafel.hpp"
    4848
    4949// config::SaveAll() and enumerate()
  • src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp

    r2fadb6f r3bdb6d  
    3333
    3434#include "Helpers/defs.hpp"
    35 #include "element.hpp"
    36 #include "periodentafel.hpp"
     35#include "Element/element.hpp"
     36#include "Element/periodentafel.hpp"
    3737#include "World.hpp"
    3838
  • src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp

    r2fadb6f r3bdb6d  
    3030
    3131#include "Descriptors/AtomIdDescriptor.hpp"
    32 #include "element.hpp"
     32#include "Element/element.hpp"
    3333#include "LinearAlgebra/Vector.hpp"
    3434#include "World.hpp"
  • src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp

    r2fadb6f r3bdb6d  
    3232#include "atom.hpp"
    3333#include "Bond/bond.hpp"
    34 #include "element.hpp"
     34#include "Element/element.hpp"
    3535#include "Helpers/defs.hpp"
    3636#include "LinearAlgebra/Line.hpp"
  • src/UIElements/Views/Qt4/Qt3D/GLWorldView.cpp

    r2fadb6f r3bdb6d  
    145145//#include "atom.hpp"
    146146//#include "Bond/bond.hpp"
    147 //#include "element.hpp"
     147//#include "Element/element.hpp"
    148148//#include "molecule.hpp"
    149 //#include "periodentafel.hpp"
     149//#include "Element/periodentafel.hpp"
    150150//#include "World.hpp"
    151151//
  • src/World.cpp

    r2fadb6f r3bdb6d  
    4040#include "LinearAlgebra/RealSpaceMatrix.hpp"
    4141#include "molecule.hpp"
    42 #include "periodentafel.hpp"
     42#include "Element/periodentafel.hpp"
    4343#include "ThermoStatContainer.hpp"
    4444#include "WorldTime.hpp"
  • src/atom.cpp

    r2fadb6f r3bdb6d  
    2323#include "CodePatterns/Log.hpp"
    2424#include "config.hpp"
    25 #include "element.hpp"
     25#include "Element/element.hpp"
    2626#include "Fragmentation/parser.hpp"
    2727#include "LinearAlgebra/Vector.hpp"
  • src/atom_atominfo.cpp

    r2fadb6f r3bdb6d  
    2323#include "CodePatterns/Verbose.hpp"
    2424#include "config.hpp"
    25 #include "element.hpp"
     25#include "Element/element.hpp"
    2626#include "Fragmentation/parser.hpp"
    27 #include "periodentafel.hpp"
     27#include "Element/periodentafel.hpp"
    2828#include "World.hpp"
    2929#include "WorldTime.hpp"
  • src/atom_bondedparticle.cpp

    r2fadb6f r3bdb6d  
    2626#include "CodePatterns/Log.hpp"
    2727#include "CodePatterns/Verbose.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "WorldTime.hpp"
    3030
  • src/builder_init.cpp

    r2fadb6f r3bdb6d  
    2626#include "CodePatterns/Log.hpp"
    2727#include "molecule.hpp"
    28 #include "periodentafel.hpp"
     28#include "Element/periodentafel.hpp"
    2929#include "Tesselation/tesselationhelpers.hpp"
    3030#include "UIElements/UIFactory.hpp"
  • src/config.cpp

    r2fadb6f r3bdb6d  
    3434#include "config.hpp"
    3535#include "ConfigFileBuffer.hpp"
    36 #include "element.hpp"
     36#include "Element/element.hpp"
    3737#include "Graph/BondGraph.hpp"
    3838#include "Helpers/helpers.hpp"
     
    4040#include "molecule.hpp"
    4141#include "molecule.hpp"
    42 #include "periodentafel.hpp"
     42#include "Element/periodentafel.hpp"
    4343#include "ThermoStatContainer.hpp"
    4444#include "World.hpp"
  • src/molecule.cpp

    r2fadb6f r3bdb6d  
    3232#include "CodePatterns/Log.hpp"
    3333#include "config.hpp"
    34 #include "element.hpp"
     34#include "Element/element.hpp"
    3535#include "graph.hpp"
    3636#include "Graph/BondGraph.hpp"
     
    4242#include "linkedcell.hpp"
    4343#include "molecule.hpp"
    44 #include "periodentafel.hpp"
     44#include "Element/periodentafel.hpp"
    4545#include "Tesselation/tesselation.hpp"
    4646#include "World.hpp"
  • src/molecule_fragmentation.cpp

    r2fadb6f r3bdb6d  
    2828#include "CodePatterns/Log.hpp"
    2929#include "config.hpp"
    30 #include "element.hpp"
     30#include "Element/element.hpp"
    3131#include "Graph/BondGraph.hpp"
    3232#include "Graph/CheckAgainstAdjacencyFile.hpp"
     
    3636#include "LinearAlgebra/RealSpaceMatrix.hpp"
    3737#include "molecule.hpp"
    38 #include "periodentafel.hpp"
     38#include "Element/periodentafel.hpp"
    3939#include "World.hpp"
    4040
  • src/molecule_geometry.cpp

    r2fadb6f r3bdb6d  
    2626#include "CodePatterns/Verbose.hpp"
    2727#include "config.hpp"
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929#include "Graph/BondGraph.hpp"
    3030#include "LinearAlgebra/leastsquaremin.hpp"
  • src/molecule_graph.cpp

    r2fadb6f r3bdb6d  
    3131#include "config.hpp"
    3232#include "Graph/DepthFirstSearchAnalysis.hpp"
    33 #include "element.hpp"
     33#include "Element/element.hpp"
    3434#include "Graph/BondGraph.hpp"
    3535#include "Helpers/defs.hpp"
  • src/moleculelist.cpp

    r2fadb6f r3bdb6d  
    3232#include "CodePatterns/Verbose.hpp"
    3333#include "config.hpp"
    34 #include "element.hpp"
     34#include "Element/element.hpp"
    3535#include "Graph/BondGraph.hpp"
    3636#include "Helpers/helpers.hpp"
     
    4040#include "Parser/MpqcParser.hpp"
    4141#include "Parser/FormatParserStorage.hpp"
    42 #include "periodentafel.hpp"
     42#include "Element/periodentafel.hpp"
    4343#include "Tesselation/tesselation.hpp"
    4444#include "World.hpp"
  • src/unittests/ElementUnitTest.cpp

    r2fadb6f r3bdb6d  
    2626#include <sstream>
    2727
    28 #include "element.hpp"
     28#include "Element/element.hpp"
    2929
    3030// include headers that implement a archive in simple text format
  • src/unittests/LinkedCellUnitTest.cpp

    r2fadb6f r3bdb6d  
    3030#include "atom.hpp"
    3131#include "Descriptors/MoleculeDescriptor.hpp"
    32 #include "element.hpp"
     32#include "Element/element.hpp"
    3333#include "linkedcell.hpp"
    3434#include "molecule.hpp"
    35 #include "periodentafel.hpp"
     35#include "Element/periodentafel.hpp"
    3636#include "PointCloudAdaptor.hpp"
    3737#include "World.hpp"
  • src/unittests/ListOfBondsUnitTest.cpp

    r2fadb6f r3bdb6d  
    3030#include "atom.hpp"
    3131#include "Bond/bond.hpp"
    32 #include "element.hpp"
     32#include "Element/element.hpp"
    3333#include "molecule.hpp"
    34 #include "periodentafel.hpp"
     34#include "Element/periodentafel.hpp"
    3535#include "World.hpp"
    3636#include "WorldTime.hpp"
  • src/unittests/Makefile.am

    r2fadb6f r3bdb6d  
    101101ElementUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    102102        ElementUnitTest.cpp \
    103         ../element.cpp \
    104         ElementUnitTest.hpp \
    105         ../element.hpp
     103        ElementUnitTest.hpp
    106104ElementUnitTest_LDADD = \
     105        ../libMolecuilderElement.la \
    107106        $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
    108107
     
    125124        PeriodentafelUnitTest.cpp \
    126125        PeriodentafelUnitTest.hpp
    127 PeriodentafelUnitTest_LDADD = ${ALLLIBS}
     126PeriodentafelUnitTest_LDADD = \
     127                ../libMolecuilderElement.la \
     128                ../libMolecuilderHelpers.la \
     129        $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
    128130
    129131WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
  • src/unittests/PeriodentafelUnitTest.cpp

    r2fadb6f r3bdb6d  
    2929#include "CodePatterns/Assert.hpp"
    3030
    31 #include "World.hpp"
    32 #include "element.hpp"
    33 #include "elements_db.hpp"
    34 #include "periodentafel.hpp"
     31#include "Element/element.hpp"
     32#include "Element/elements_db.hpp"
     33#include "Element/periodentafel.hpp"
    3534
    3635#include "PeriodentafelUnitTest.hpp"
     
    5352{
    5453  // make sure world is present
    55   tafel = World::getInstance().getPeriode();
     54  tafel = new periodentafel();
    5655  CPPUNIT_ASSERT(tafel != NULL && "could not obtain periodentafel");
    5756};
     
    6059void periodentafelTest::tearDown()
    6160{
    62   World::purgeInstance();
     61  delete tafel;
    6362};
    6463
     
    124123}
    125124
    126 std::string gatherUndoInformation()
     125std::string gatherUndoInformation(const periodentafel *tafel)
    127126{
    128127  // create undo state
    129128  std::stringstream undostream;
    130129  boost::archive::text_oarchive oa(undostream);
    131   oa << World::getInstance().getPeriode();
     130  oa << tafel;
    132131  return undostream.str();
    133132}
     
    139138{
    140139  // write element to stream
    141   std::stringstream stream(gatherUndoInformation());
     140  std::stringstream stream(gatherUndoInformation(tafel));
    142141//  boost::archive::text_oarchive oa(stream);
    143142//  oa << World::getInstance().getPeriode();
Note: See TracChangeset for help on using the changeset viewer.