|
| HRESULT | TissueForge::space_init (struct space *s, const FPTYPE *origin, const FPTYPE *dim, FPTYPE *L, FPTYPE cutoff, const struct BoundaryConditions *bc) |
| | Initialize the space with the given dimensions.
|
| |
| int | TissueForge::space_getsid (struct space *s, struct space_cell **ci, struct space_cell **cj, FPTYPE *shift) |
| | Get the sort-ID and flip the cells if necessary.
|
| |
| HRESULT | TissueForge::space_shuffle (struct space *s) |
| | Run through the cells of a space and make sure every particle is in its place.
|
| |
| HRESULT | TissueForge::space_shuffle_local (struct space *s) |
| | Run through the non-ghost cells of a space and make sure every particle is in its place.
|
| |
| HRESULT | TissueForge::space_growparts (struct space *s, unsigned int size_incr) |
| | Grow the parts allocated to a space.
|
| |
| HRESULT | TissueForge::space_addpart (struct space *s, struct Particle *p, FPTYPE *x, struct Particle **result) |
| | Add a #part to a space at the given coordinates. The given particle p is only used for the attributes, it itself is not added, rather a new memory block is allocated, and the contents of p get copied in there.
|
| |
|
HRESULT | TissueForge::space_addparts (struct space *s, int nr_parts, struct Particle **parts, FPTYPE **xparts) |
| |
| int | TissueForge::space_get_cellids_for_pos (struct space *s, FPTYPE *x, int *cellids) |
| |
| HRESULT | TissueForge::space_del_particle (struct space *s, int pid) |
| |
| HRESULT | TissueForge::space_update_style (struct space *s) |
| |
| HRESULT | TissueForge::space_prepare_tasks (struct space *s) |
| | Prepare the tasks before a time step.
|
| |
| HRESULT | TissueForge::space_prepare (struct space *s) |
| | Prepare the space before a time step.
|
| |
| HRESULT | TissueForge::space_getpos (struct space *s, int id, FPTYPE *x) |
| | Get the absolute position of a particle.
|
| |
| HRESULT | TissueForge::space_setpos (struct space *s, int id, FPTYPE *x) |
| | Set the absolute position of a particle.
|
| |
| HRESULT | TissueForge::space_flush (struct space *s) |
| | Clear all particles from this space.
|
| |
| HRESULT | TissueForge::space_flush_ghosts (struct space *s) |
| | Clear all particles from the ghost cells in this space.
|
| |
| struct task * | TissueForge::space_addtask (struct space *s, int type, int subtype, int flags, int i, int j) |
| | Add a task to the given space.
|
| |
| HRESULT | TissueForge::space_verlet_init (struct space *s, int list_global) |
| | Initialize the Verlet-list data structures.
|
| |
| int | TissueForge::space_gettuple (struct space *s, struct celltuple **out, int wait) |
| | Get the next free celltuple from the space.
|
| |
| int | TissueForge::space_getcell (struct space *s, struct space_cell **out) |
| | Get the next unprocessed cell from the spaece.
|
| |
| int | TissueForge::space_verlet_force (struct space *s, FPTYPE *f, FPTYPE epot) |
| | Collect forces and potential energies.
|
| |
| HRESULT | TissueForge::space_releasepair (struct space *s, int ci, int cj) |
| | Free the cells involved in the current pair.
|
| |