Changeset 42127c
- Timestamp:
- Oct 25, 2011, 12:08:03 PM (13 years ago)
- 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:
- 75363b
- Parents:
- f7fd17
- git-author:
- Frederik Heber <heber@…> (10/20/11 09:58:57)
- git-committer:
- Frederik Heber <heber@…> (10/25/11 12:08:03)
- Location:
- src
- Files:
-
- 1 added
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/GraphAction/SubgraphDissectionAction.cpp
rf7fd17 r42127c 31 31 #include "Graph/DepthFirstSearchAnalysis.hpp" 32 32 #include "molecule.hpp" 33 #include "MoleculeListClass.hpp" 33 34 #include "World.hpp" 34 35 -
src/Actions/MoleculeAction/CreateMicelleAction.cpp
rf7fd17 r42127c 33 33 #include "LinearAlgebra/Line.hpp" 34 34 #include "molecule.hpp" 35 #include "MoleculeListClass.hpp" 35 36 #include "World.hpp" 36 37 -
src/Actions/MoleculeAction/FillVoidWithMoleculeAction.cpp
rf7fd17 r42127c 28 28 #include "Descriptors/MoleculeOrderDescriptor.hpp" 29 29 #include "molecule.hpp" 30 #include "MoleculeListClass.hpp" 30 31 #include "Parser/FormatParserInterface.hpp" 31 32 #include "Parser/FormatParserStorage.hpp" -
src/Actions/MoleculeAction/FillWithMoleculeAction.cpp
rf7fd17 r42127c 28 28 #include "Descriptors/MoleculeOrderDescriptor.hpp" 29 29 #include "molecule.hpp" 30 #include "MoleculeListClass.hpp" 30 31 #include "Parser/FormatParserInterface.hpp" 31 32 #include "Parser/FormatParserStorage.hpp" -
src/Actions/MoleculeAction/LoadAction.cpp
rf7fd17 r42127c 27 27 #include "Parser/FormatParser_Parameters.hpp" 28 28 #include "molecule.hpp" 29 #include "MoleculeListClass.hpp" 29 30 #include "World.hpp" 30 31 -
src/Actions/WorldAction/InputAction.cpp
rf7fd17 r42127c 22 22 #include "CodePatterns/Log.hpp" 23 23 #include "molecule.hpp" 24 #include "MoleculeListClass.hpp" 24 25 #include "Parser/FormatParserStorage.hpp" 25 26 #include "CodePatterns/Verbose.hpp" -
src/Actions/WorldAction/RepeatBoxAction.cpp
rf7fd17 r42127c 24 24 #include "CodePatterns/Log.hpp" 25 25 #include "molecule.hpp" 26 #include "MoleculeListClass.hpp" 26 27 #include "LinearAlgebra/Vector.hpp" 27 28 #include "LinearAlgebra/RealSpaceMatrix.hpp" -
src/Analysis/analysis_bonds.cpp
rf7fd17 r42127c 28 28 #include "CodePatterns/Log.hpp" 29 29 #include "molecule.hpp" 30 #include "MoleculeListClass.hpp" 30 31 31 32 /** Calculates the min, mean and maximum bond counts for the given molecule. -
src/Analysis/unittests/AnalysisCorrelationToPointUnitTest.cpp
rf7fd17 r42127c 33 33 #include "Element/element.hpp" 34 34 #include "molecule.hpp" 35 #include "MoleculeListClass.hpp" 35 36 #include "linkedcell.hpp" 36 37 #include "Element/periodentafel.hpp" -
src/Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
rf7fd17 r42127c 33 33 #include "Element/element.hpp" 34 34 #include "molecule.hpp" 35 #include "MoleculeListClass.hpp" 35 36 #include "linkedcell.hpp" 36 37 #include "Element/periodentafel.hpp" -
src/Analysis/unittests/AnalysisPairCorrelationUnitTest.cpp
rf7fd17 r42127c 31 31 #include "World.hpp" 32 32 #include "atom.hpp" 33 #include "Element/element.hpp" 34 #include "Element/periodentafel.hpp" 35 #include "molecule.hpp" 36 #include "MoleculeListClass.hpp" 37 #include "linkedcell.hpp" 33 38 #include "Tesselation/boundary.hpp" 34 #include "Element/element.hpp"35 #include "molecule.hpp"36 #include "linkedcell.hpp"37 #include "Element/periodentafel.hpp"38 39 #include "Tesselation/tesselation.hpp" 39 40 #include "World.hpp" -
src/Analysis/unittests/CountBondsUnitTest.cpp
rf7fd17 r42127c 34 34 #include "Bond/bond.hpp" 35 35 #include "Element/element.hpp" 36 #include "Element/periodentafel.hpp" 36 37 #include "Graph/BondGraph.hpp" 37 38 #include "molecule.hpp" 38 #include " Element/periodentafel.hpp"39 #include "MoleculeListClass.hpp" 39 40 #include "World.hpp" 40 41 -
src/Fragmentation/Fragmentation.cpp
rf7fd17 r42127c 37 37 #include "molecule.hpp" 38 38 #include "MoleculeLeafClass.hpp" 39 #include "MoleculeListClass.hpp" 39 40 #include "World.hpp" 40 41 -
src/Graph/ConnectedSubgraph.cpp
rf7fd17 r42127c 29 29 #include "CodePatterns/Verbose.hpp" 30 30 #include "molecule.hpp" 31 #include "MoleculeListClass.hpp" 31 32 #include "World.hpp" 32 33 -
src/Graph/DepthFirstSearchAnalysis.cpp
rf7fd17 r42127c 34 34 #include "molecule.hpp" 35 35 #include "MoleculeLeafClass.hpp" 36 #include "MoleculeListClass.hpp" 36 37 #include "World.hpp" 37 38 -
src/Parser/MpqcParser.cpp
rf7fd17 r42127c 31 31 #include "Element/element.hpp" 32 32 #include "molecule.hpp" 33 #include "MoleculeListClass.hpp" 33 34 #include "CodePatterns/Log.hpp" 34 35 #include "CodePatterns/toString.hpp" -
src/Parser/PcpParser.cpp
rf7fd17 r42127c 33 33 #include "LinearAlgebra/RealSpaceMatrix.hpp" 34 34 #include "molecule.hpp" 35 #include "MoleculeListClass.hpp" 35 36 #include "PcpParser.hpp" 36 37 #include "Element/periodentafel.hpp" -
src/Parser/PdbParser.cpp
rf7fd17 r42127c 24 24 #include "CodePatterns/toString.hpp" 25 25 #include "CodePatterns/Verbose.hpp" 26 #include "Descriptors/AtomIdDescriptor.hpp" 27 #include "World.hpp" 26 28 27 #include "atom.hpp" 29 28 #include "Bond/bond.hpp" 29 #include "Descriptors/AtomIdDescriptor.hpp" 30 30 #include "Element/element.hpp" 31 #include "Element/periodentafel.hpp" 31 32 #include "molecule.hpp" 32 #include "Element/periodentafel.hpp" 33 #include "Descriptors/AtomIdDescriptor.hpp" 33 #include "MoleculeListClass.hpp" 34 34 #include "Parser/PdbParser.hpp" 35 35 #include "World.hpp" -
src/Parser/Psi3Parser.cpp
rf7fd17 r42127c 32 32 #include "Element/periodentafel.hpp" 33 33 #include "molecule.hpp" 34 #include "MoleculeListClass.hpp" 34 35 #include "CodePatterns/Log.hpp" 35 36 #include "CodePatterns/toString.hpp" -
src/Parser/TremoloParser.cpp
rf7fd17 r42127c 24 24 #include "CodePatterns/toString.hpp" 25 25 #include "CodePatterns/Verbose.hpp" 26 26 27 #include "TremoloParser.hpp" 28 29 #include "atom.hpp" 30 #include "Bond/bond.hpp" 31 #include "Descriptors/AtomIdDescriptor.hpp" 32 #include "Element/element.hpp" 33 #include "Element/periodentafel.hpp" 34 #include "molecule.hpp" 35 #include "MoleculeListClass.hpp" 27 36 #include "World.hpp" 28 37 #include "WorldTime.hpp" 29 #include "atom.hpp" 30 #include "Bond/bond.hpp" 31 #include "Element/element.hpp" 32 #include "molecule.hpp" 33 #include "Element/periodentafel.hpp" 34 #include "Descriptors/AtomIdDescriptor.hpp" 38 35 39 #include <map> 36 40 #include <vector> -
src/Parser/XyzParser.cpp
rf7fd17 r42127c 24 24 #include "CodePatterns/Log.hpp" 25 25 #include "CodePatterns/Verbose.hpp" 26 26 27 #include "XyzParser.hpp" 27 #include "World.hpp" 28 28 29 #include "atom.hpp" 29 #include "molecule.hpp"30 30 #include "Element/element.hpp" 31 31 #include "Element/periodentafel.hpp" 32 #include "molecule.hpp" 33 #include "MoleculeListClass.hpp" 34 #include "World.hpp" 32 35 33 36 using namespace std; -
src/Tesselation/boundary.cpp
rf7fd17 r42127c 35 35 #include "linkedcell.hpp" 36 36 #include "molecule.hpp" 37 #include "MoleculeListClass.hpp" 37 38 #include "PointCloudAdaptor.hpp" 38 39 #include "RandomNumbers/RandomNumberGeneratorFactory.hpp" -
src/UIElements/MainWindow.hpp
rf7fd17 r42127c 15 15 16 16 17 class MoleculeListClass;18 class config;19 class periodentafel;20 21 class Menu;22 23 17 class MainWindow 24 18 { -
src/UIElements/TextUI/TextWindow.cpp
rf7fd17 r42127c 47 47 #include "Element/periodentafel.hpp" 48 48 49 // config::SaveAll() and enumerate()50 #include " molecule.hpp"49 // needed due to Enumerate() 50 #include "MoleculeListClass.hpp" 51 51 52 52 #include <iostream> -
src/UIElements/Views/Qt4/QtWorldView.cpp
rf7fd17 r42127c 27 27 #include "Formula.hpp" 28 28 #include "molecule.hpp" 29 #include "MoleculeListClass.hpp" 29 30 30 31 using namespace std; -
src/World.cpp
rf7fd17 r42127c 37 37 #include "Descriptors/MoleculeDescriptor_impl.hpp" 38 38 #include "Descriptors/SelectiveIterator_impl.hpp" 39 #include "Element/periodentafel.hpp" 39 40 #include "Helpers/defs.hpp" 40 41 #include "LinearAlgebra/RealSpaceMatrix.hpp" 41 42 #include "molecule.hpp" 42 #include " Element/periodentafel.hpp"43 #include "MoleculeListClass.hpp" 43 44 #include "ThermoStatContainer.hpp" 44 45 #include "WorldTime.hpp" -
src/config.cpp
rf7fd17 r42127c 35 35 #include "ConfigFileBuffer.hpp" 36 36 #include "Element/element.hpp" 37 #include "Element/periodentafel.hpp" 37 38 #include "Graph/BondGraph.hpp" 38 39 #include "Helpers/helpers.hpp" 39 40 #include "LinearAlgebra/RealSpaceMatrix.hpp" 40 41 #include "molecule.hpp" 41 #include "molecule.hpp" 42 #include "Element/periodentafel.hpp" 42 #include "MoleculeListClass.hpp" 43 43 #include "ThermoStatContainer.hpp" 44 44 #include "World.hpp" -
src/molecule.hpp
rf7fd17 r42127c 53 53 54 54 /******************************** Some definitions for easier reading **********************************/ 55 56 #define MoleculeList list <molecule *>57 #define MoleculeListTest pair <MoleculeList::iterator, bool>58 55 59 56 /************************************* Class definitions ****************************************/ … … 239 236 void DeleteMolecule(molecule* mol); 240 237 241 /** A list of \a molecule classes.242 */243 class MoleculeListClass : public Observable244 {245 public:246 MoleculeList ListOfMolecules; //!< List of the contained molecules247 int MaxIndex;248 249 MoleculeListClass(World *world);250 ~MoleculeListClass();251 252 bool AddHydrogenCorrection(std::string &path);253 bool StoreForcesFile(std::string &path, int *SortIndex);254 void insert(molecule *mol);255 void erase(molecule *mol);256 molecule * ReturnIndex(int index);257 bool OutputConfigForListOfFragments(std::string &prefix, int *SortIndex);258 int NumberOfActiveMolecules();259 void Enumerate(ostream *out);260 void Output(ofstream *out);261 int CountAllAtoms() const;262 263 // Methods moved here from the menus264 // TODO: more refactoring needed on these methods265 void createNewMolecule(periodentafel *periode);266 void loadFromXYZ(periodentafel *periode);267 void setMoleculeFilename();268 void parseXYZIntoMolecule();269 void eraseMolecule();270 271 private:272 World *world; //!< The world this List belongs to. Needed to avoid deadlocks in the destructor273 };274 238 275 239 -
src/moleculelist.cpp
rf7fd17 r42127c 19 19 #include "CodePatterns/MemDebug.hpp" 20 20 21 //#include <cstring>21 #include <iostream> 22 22 23 23 //#include <gsl/gsl_inline.h> 24 24 #include <gsl/gsl_heapsort.h> 25 25 26 #include " molecule.hpp"26 #include "MoleculeListClass.hpp" 27 27 28 28 #include "CodePatterns/Log.hpp" … … 38 38 #include "Graph/BondGraph.hpp" 39 39 #include "Helpers/helpers.hpp" 40 #include "molecule.hpp" 40 41 #include "LinearAlgebra/RealSpaceMatrix.hpp" 41 42 #include "Parser/FormatParserStorage.hpp" … … 181 182 * \param *out output stream 182 183 */ 183 void MoleculeListClass::Enumerate( ostream *out)184 void MoleculeListClass::Enumerate(std::ostream *out) 184 185 { 185 186 periodentafel *periode = World::getInstance().getPeriode(); … … 235 236 * \param *out output stream 236 237 */ 237 void MoleculeListClass::Output( ofstream *out)238 void MoleculeListClass::Output(std::ostream *out) 238 239 { 239 240 DoLog(1) && (Log() << Verbose(1) << "MoleculeList: ");
Note:
See TracChangeset
for help on using the changeset viewer.