Changeset db8960
- Timestamp:
- Jan 2, 2012, 1:34:41 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:
- a5b2b6b
- Parents:
- bbab87
- git-author:
- Frederik Heber <heber@…> (12/20/11 10:25:43)
- git-committer:
- Frederik Heber <heber@…> (01/02/12 13:34:41)
- Location:
- src/LinkedCell
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/LinkedCell/LinkedCell_Model.cpp
rbbab87 rdb8960 266 266 } 267 267 268 /** Adds a node to the linked cell structure268 /** Adds an update to the list of lazy changes to add a node. 269 269 * 270 270 * @param Walker node to add 271 271 */ 272 272 void LinkedCell::LinkedCell_Model::addNode(const TesselPoint *Walker) 273 { 274 addNode_internal(Walker); 275 } 276 277 /** Adds an update to the list of lazy changes to add remove a node. 278 * 279 * We do nothing of Walker is not found 280 * 281 * @param Walker node to remove 282 */ 283 void LinkedCell::LinkedCell_Model::deleteNode(const TesselPoint *Walker) 284 { 285 deleteNode_internal(Walker); 286 } 287 288 /** Adds an update to the list of lazy changes to move a node. 289 * 290 * @param Walker node who has moved. 291 */ 292 void LinkedCell::LinkedCell_Model::moveNode(const TesselPoint *Walker) 293 { 294 moveNode_internal(Walker); 295 } 296 297 /** Internal function to add a node to the linked cell structure 298 * 299 * @param Walker node to add 300 */ 301 void LinkedCell::LinkedCell_Model::addNode_internal(const TesselPoint *Walker) 273 302 { 274 303 tripleIndex index = getIndexToVector(Walker->getPosition()); … … 288 317 } 289 318 290 /** Removesa node to the linked cell structure319 /** Internal function to remove a node to the linked cell structure 291 320 * 292 321 * We do nothing of Walker is not found … … 294 323 * @param Walker node to remove 295 324 */ 296 void LinkedCell::LinkedCell_Model::deleteNode (const TesselPoint *Walker)325 void LinkedCell::LinkedCell_Model::deleteNode_internal(const TesselPoint *Walker) 297 326 { 298 327 MapPointToCell::iterator iter = CellLookup.begin(); … … 308 337 } 309 338 310 /** Move Walkerfrom current cell to another on position change.339 /** Internal function to move node from current cell to another on position change. 311 340 * 312 341 * @param Walker node who has moved. 313 342 */ 314 void LinkedCell::LinkedCell_Model::moveNode (const TesselPoint *Walker)343 void LinkedCell::LinkedCell_Model::moveNode_internal(const TesselPoint *Walker) 315 344 { 316 345 ASSERT(0, "LinkedCell_Model::moveNode() - not implemented yet."); -
src/LinkedCell/LinkedCell_Model.hpp
rbbab87 rdb8960 85 85 void stopListening(); 86 86 87 void addNode_internal(const TesselPoint *Walker); 88 void deleteNode_internal(const TesselPoint *Walker); 89 void moveNode_internal(const TesselPoint *Walker); 90 87 91 LinkedCellArray::index getSize(const size_t dim) const; 88 92
Note:
See TracChangeset
for help on using the changeset viewer.