Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OffLattice support #453

Merged
merged 60 commits into from
Feb 9, 2020
Merged

OffLattice support #453

merged 60 commits into from
Feb 9, 2020

Conversation

0ncorhynchus
Copy link
Collaborator

This PR makes sure OffLatticeSpace plays the below functions.

  • Add/Remove particles
  • Move particles on/in it
  • Particles react on/in it or across spaces

and fixes #133 and #430.

Add add_offlattice() to SpatiocyteWorld instead of add_space()
Add spatiocyte::OffLattice, which stores arguments for creating an instance of OffLatticeSpace
Remove some functions for Particle from VoxelSpaceBase
Remove other functions for Particle from VoxelSpaceBase
Implement VoxelSpaceBase::find_voxel() instead of VoxelSpaceBase::find_particle()
Change the return type of SpatiocyteWorld::list_voxels()
Introduce VoxelView and change the return type of VoxelSpaceBase::list_voxels()
Change the argument types of SpatiocyteWorld::update_voxel()
Change the argument types of VoxelSpaceBase::update_voxel()
@0ncorhynchus 0ncorhynchus requested a review from kaizu February 6, 2020 04:08
@kaizu kaizu closed this Feb 7, 2020
@kaizu kaizu reopened this Feb 7, 2020
@kaizu
Copy link
Member

kaizu commented Feb 7, 2020

Some checks are failing.

@0ncorhynchus
Copy link
Collaborator Author

Some checks are failing.

Thanks for your review!
I cherry-picked commits to resolve them.

@kaizu kaizu merged commit fd1e52b into master Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement off-lattice on spatiocyte
3 participants