Changeset 25aa214 for src/Fragmentation
- Timestamp:
- Dec 19, 2025, 11:29:38 PM (7 weeks ago)
- Branches:
- Candidate_v1.7.1, stable
- Children:
- 98ad30
- Parents:
- d2be22
- git-author:
- Frederik Heber <frederik.heber@…> (11/16/25 11:19:01)
- git-committer:
- Frederik Heber <frederik.heber@…> (12/19/25 23:29:38)
- Location:
- src/Fragmentation/Exporters
- Files:
-
- 2 edited
-
HydrogenPool.cpp (modified) (1 diff)
-
unittests/SaturationDistanceMaximizerUnitTest.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Exporters/HydrogenPool.cpp
rd2be22 r25aa214 60 60 { 61 61 // get new hydrogen from world, but remove its observers 62 atom * const Walker = World::getInstance().createAtom( );62 atom * const Walker = World::getInstance().createAtom(World::CreateAtomNotificationType::DO_NOT_NOTIFY); 63 63 Walker->setType(HYDROGEN); // set element 64 64 Walker->setName(std::string("H_")+toString(HydrogenCount)); -
src/Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.cpp
rd2be22 r25aa214 87 87 // prepare SaturatedBonds each with degree one 88 88 atomVector.resize((size_t)MaxAtoms); 89 std::generate_n(atomVector.begin(), MaxAtoms, 90 boost::bind(&World::createAtom, boost::ref(World::getInstance()))); 89 std::generate_n(atomVector.begin(), MaxAtoms, boost::bind( 90 static_cast<atom* (World::*)(World::CreateAtomNotificationType)>(&World::createAtom), 91 World::getPointer(), 92 World::CreateAtomNotificationType::NOTIFY_ON_CREATE_ATOM)); 91 93 std::list<bond*> bondVector; 92 94 SaturationDistanceMaximizer::PositionContainers_t PositionContainers;
Note:
See TracChangeset
for help on using the changeset viewer.
