Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🔥 Remove alias functions used for Cython * 🚧 Add python apis for offlattice * ✅ Add a test for offlattice * 💥 Add SpatiocyteWorld.add_offlattice() Add add_offlattice() to SpatiocyteWorld instead of add_space() * ✨ Add a class for generating OffLatticeSpace Add spatiocyte::OffLattice, which stores arguments for creating an instance of OffLatticeSpace * ✨ Add an argument to add_offlattice() * ♻️ Refactor remove_voxel() * ♻️ Remove some functions from VoxelSpaceBase Remove some functions for Particle from VoxelSpaceBase * 🔥 Remove other functions from VoxelSpaceBase Remove other functions for Particle from VoxelSpaceBase * 🔥 Remove VoxelSpaceBase::particle_at() * ♻️ Impl find_voxel() instead of find_particle() Implement VoxelSpaceBase::find_voxel() instead of VoxelSpaceBase::find_particle() * 🎨 Format VoxelSpaceBase.[ch]pp * 🎨 Format spatiocyte codes * ♻️ Move get_value() and get_value_exact() * 🎨 Format LatticeSpaces * ♻️ Use ranged-for-loop instead of iterator * ♻️ Use auto for the return value of list_voxels() * ♻️ Isolate push_voxels() from VoxelSpaceBase * 🐛 Make list_voxels() to show the real species * 💥 Modify SpatiocyteWorld::list_voxels() Change the return type of SpatiocyteWorld::list_voxels() * 💥 Do not use radius, D and loc from ParticleVoxel * 💥 Modify VoxelSpaceBase::list_voxels() Introduce VoxelView and change the return type of VoxelSpaceBase::list_voxels() * 💥 Change the return type of find_voxel() * ♻️ Modify VoxelSpaceBase::get_voxel_at() * 💥 Remove radius and D from VoxelPool * ♻️ Remove VoxelSpaceBase::get_voxel_pool() * ♻️ Modify SpatiocyteWorld::update_voxel() Change the argument types of SpatiocyteWorld::update_voxel() * ♻️ Modify VoxelSpaceBase::update_voxel() Change the argument types of VoxelSpaceBase::update_voxel() * 🔥 Remove ParticleVoxel completely! * ♻️ Add Voxel::get_neighbor_randomly() * ♻️ Add another Voxel::get_neighbor_randomly() For StepEvent2D * ♻️ StepEvent2D uses Voxel::get_neighbor_randomly() * ♻️ Remove rng from args of get_neighbor_randomly() * ♻️ Move functions for neighbor to SpatiocyteWorld * ♻️ Change the types of intefaces_ and neighbors_ * ♻️ Refactor add_structure() and remove is_inside() * ♻️ Change the arguments of gen_particle_from() * ♻️ Add find_space_and_voxel_pool() * ♻️ Add find_space_and_molecule_pool() * 🔥 Remove coordinate2voxel() * 🐛 Fix bug around locating molecules * 🔥 Remove SpatiocyteWorld::coordinate_type * 🐛 Fix num_voxels* and num_molecules* * 🐛 Fix the bug of SpatiocyteWorld::add_molecules() * ♻️ Refactor get_molecule_info() * 🐛 Get information from a model before add a space * ✅ Add test for get_molecule_info() * 🐛 Fix get_location() with a vacant voxel * 🐛 Fix SpatiocyteWorld::check_neighbor() * 🐛 Fix reactions with OffLatticeSpace * ♻️ Add a virtual function StepEvent::dimension() Add StepEvent::dimension() and lift up StepEvent::walk() to a common function() * ⚡ Use template for StepEvent and some functions * ♻️ Add a model to a python test Add a model to a python unittest test_constructor * ✅ Add a test for OffLattice * 🔀 Cherry pick a commit for CircleCI * 🔀 Cherry pick another commit for CircleCI Co-authored-by: Kozo Nishida <[email protected]>
- Loading branch information