- Timestamp:
- May 8, 2010, 12:17:30 PM (15 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:
- efc3cb
- Parents:
- bdedb1 (diff), b8d4a3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 10 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
rbdedb1 rb9b604 50 50 51 51 52 PARSERSOURCE = Parser/ChangeTracker.cpp Parser/FormatParser.cpp Parser/TremoloParser.cpp Parser/XyzParser.cpp 53 PARSERHEADER = Parser/ChangeTracker.hpp Parser/FormatParser.hpp Parser/TremoloParser.hpp Parser/XyzParser.hpp 54 52 55 PATTERNSOURCE = Patterns/Observer.cpp 53 56 PATTERNHEADER = Patterns/Cacheable.hpp \ … … 98 101 ${ATOMSOURCE} \ 99 102 ${PATTERNSOURCE} \ 103 ${PARSERSOURCE} \ 100 104 ${UISOURCE} \ 101 105 ${DESCRIPTORSOURCE} \ … … 140 144 ${ANALYSISHEADER} \ 141 145 ${ATOMHEADER} \ 146 ${PARSERHEADER} \ 142 147 ${PATTERNHEADER} \ 143 148 ${UIHEADER} \ -
src/atom_bondedparticle.cpp
rbdedb1 rb9b604 74 74 *BondFile << nr << "\t" << (*Runner)->GetOtherAtom(this)->nr << "\n"; 75 75 }; 76 77 /** 78 * Adds a bond between this bonded particle and another. Does nothing if this 79 * bond already exists. 80 * 81 * \param bonding partner 82 */ 83 void BondedParticle::addBond(BondedParticle* Partner) { 84 if (IsBondedTo(Partner)) { 85 return; 86 } 87 88 bond* newBond = new bond((atom*) this, (atom*) Partner, 1, 0); 89 RegisterBond(newBond); 90 Partner->RegisterBond(newBond); 91 } 76 92 77 93 /** Puts a given bond into atom::ListOfBonds. -
src/atom_bondedparticle.hpp
rbdedb1 rb9b604 37 37 virtual ~BondedParticle(); 38 38 39 void addBond(BondedParticle* Partner); 39 40 bool RegisterBond(bond *Binder); 40 41 bool UnregisterBond(bond *Binder); -
src/atom_particleinfo.cpp
rbdedb1 rb9b604 16 16 nr(pointer->nr), 17 17 Name(pointer->Name) 18 {} 18 { 19 if (Name == NULL) 20 Name = " "; 21 } 19 22 20 23 -
src/bond.cpp
rbdedb1 rb9b604 15 15 /** Empty Constructor for class bond. 16 16 */ 17 bond::bond() : leftatom(NULL), rightatom(NULL), previous(NULL), next(NULL), HydrogenBond(0), BondDegree(0), nr(-1), Cyclic(false), Type(Undetermined), Used(white) 17 bond::bond() 18 : leftatom(NULL), rightatom(NULL), previous(NULL), next(NULL), HydrogenBond(0), 19 BondDegree(0), nr(-1), Cyclic(false), Type(Undetermined), Used(white) 18 20 { 19 21 }; … … 25 27 * \param number increasing index 26 28 */ 27 bond::bond(atom *left, atom *right, const int degree, const int number) : leftatom(left), rightatom(right), previous(NULL), next(NULL), HydrogenBond(0), BondDegree(degree), nr(number), Cyclic(false), Type(Undetermined), Used(white) 29 bond::bond(atom *left, atom *right, const int degree, const int number) 30 : leftatom(left), rightatom(right), previous(NULL), next(NULL), HydrogenBond(0), 31 BondDegree(degree), nr(number), Cyclic(false), Type(Undetermined), Used(white) 28 32 { 29 33 if ((left != NULL) && (right != NULL)) { -
src/unittests/Makefile.am
rbdedb1 rb9b604 32 32 PlaneUnittest \ 33 33 ObserverTest \ 34 ParserUnitTest \ 34 35 SingletonTest \ 35 36 StackClassUnitTest \ … … 73 74 PlaneUnittest.cpp \ 74 75 ObserverTest.cpp \ 76 ParserUnitTest.cpp \ 75 77 SingletonTest.cpp \ 76 78 stackclassunittest.cpp \ … … 204 206 AtomDescriptorTest_LDADD = ${ALLLIBS} 205 207 208 ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp 209 ParserUnitTest_LDADD = ${ALLLIBS} 210 206 211 manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp 207 212 manipulateAtomsTest_LDADD = ${ALLLIBS} -
src/unittests/SingletonTest.cpp
rbdedb1 rb9b604 52 52 count1++; 53 53 } 54 // explicit copy constructor to catch if th siis ever called54 // explicit copy constructor to catch if this is ever called 55 55 SingletonStub2(const SingletonStub2&){ 56 56 CPPUNIT_FAIL ( "Copy constructor of Singleton called" );
Note:
See TracChangeset
for help on using the changeset viewer.