Changeset f3eb6a for src/LinkedCell
- Timestamp:
- Apr 23, 2021, 8:34:22 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 9f55b9
- Parents:
- ef0f8f
- git-author:
- Frederik Heber <frederik.heber@…> (10/03/20 21:54:41)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 20:34:22)
- Location:
- src/LinkedCell
- Files:
-
- 3 edited
-
LinkedCell_Model.cpp (modified) (1 diff)
-
LinkedCell_Model_changeModel.cpp (modified) (1 diff)
-
LinkedCell_Model_changeModel.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/LinkedCell/LinkedCell_Model.cpp
ref0f8f rf3eb6a 333 333 void LinkedCell::LinkedCell_Model::deleteNode(const TesselPoint *Walker) 334 334 { 335 LOG(2, "INFO: Requesting update to delete node " << *Walker << "."); 336 Changes->addUpdate(Walker, 0, boost::bind(&LinkedCell_Model::deleteNode_internal, this, _1), "delete"); 335 LOG(2, "INFO: Deleting node " << *Walker << "."); 336 deleteNode_internal(Walker); 337 Changes->removeUpdates(Walker); 337 338 } 338 339 -
src/LinkedCell/LinkedCell_Model_changeModel.cpp
ref0f8f rf3eb6a 93 93 } 94 94 95 /** 96 * Removes all contained updates for a specific tesselpoint. 97 * 98 */ 99 void LinkedCell::LinkedCell_Model::changeModel::removeUpdates(const TesselPoint *Walker) 100 { 101 queue.erase(Walker); 102 } 103 95 104 /** Empties changeModel::queue by performing all update functions. 96 105 * -
src/LinkedCell/LinkedCell_Model_changeModel.hpp
ref0f8f rf3eb6a 46 46 const std::string name="" 47 47 ); 48 49 void removeUpdates(const TesselPoint *Walker); 48 50 private: 49 51 //!> grant LinkedCell_Model access to bind LinkedCellArrayCache to update funcation
Note:
See TracChangeset
for help on using the changeset viewer.
