Changeset 5d8f4f
- Timestamp:
- Feb 11, 2016, 8:06:49 AM (9 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:
- d4ba3f
- Parents:
- 4a328f
- git-author:
- Frederik Heber <heber@…> (12/28/15 15:10:47)
- git-committer:
- Frederik Heber <heber@…> (02/11/16 08:06:49)
- Location:
- src
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/AtomObserver.hpp
r4a328f r5d8f4f 29 29 * the AtomObserver instance is still intact or segfault will occur. 30 30 * 31 * \sa MoleculeObserver 31 32 */ 32 33 class AtomObserver : public Singleton<AtomObserver>, public Relay -
src/Makefile.am
r4a328f r5d8f4f 150 150 Formula.cpp \ 151 151 MoleculeLeafClass.cpp \ 152 MoleculeObserver.cpp \ 152 153 moleculelist.cpp \ 153 154 molecule.cpp \ … … 176 177 MoleculeLeafClass.hpp \ 177 178 MoleculeListClass.hpp \ 179 MoleculeObserver.hpp \ 178 180 molecule.hpp \ 179 181 types.hpp \ -
src/cleanUp.cpp
r4a328f r5d8f4f 53 53 54 54 #include "Fragmentation/Summation/Containers/FragmentationResultContainer.hpp" 55 56 #include "MoleculeObserver.hpp" 55 57 56 58 #include "Potentials/PotentialFactory.hpp" … … 112 114 World::purgeInstance(); 113 115 AtomObserver::purgeInstance(); 116 MoleculeObserver::purgeInstance(); 114 117 MenuDescription::purgeInstance(); 115 118 UIFactory::purgeInstance(); -
src/molecule.cpp
r4a328f r5d8f4f 63 63 #include "LinearAlgebra/Vector.hpp" 64 64 #include "LinkedCell/linkedcell.hpp" 65 #include "MoleculeObserver.hpp" 65 66 #include "IdPool_impl.hpp" 66 67 #include "Shapes/BaseShapes.hpp" … … 115 116 116 117 strcpy(name,World::getInstance().getDefaultName().c_str()); 118 119 // inform MoleculeObserver about new molecule 120 MoleculeObserver::getInstance().MoleculeInserted(this); 117 121 } 118 122 … … 132 136 } 133 137 CleanupMolecule(); 138 139 // inform MoleculeObserver about removed molecule 140 MoleculeObserver::getInstance().MoleculeRemoved(this); 134 141 }; 135 142
Note:
See TracChangeset
for help on using the changeset viewer.