|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
the space_cell structure More...
#include <tfSpace_cell.h>

Public Attributes | |
| unsigned int | flags |
| int | id |
| int | loc [3] |
| FPTYPE | origin [3] |
| FPTYPE | dim [3] |
| int | size |
| int | count |
| struct Particle * | parts |
| FPTYPE | epot |
| struct Particle * | incomming |
| int | incomming_size |
| int | incomming_count |
| pthread_mutex_t | cell_mutex |
| pthread_cond_t | cell_cond |
| FPTYPE * | oldx |
| int | oldx_size |
| int | nodeID |
| unsigned int * | sortlist |
| struct task * | sort |
| int | GPUID |
| FPTYPE | computed_volume |
the space_cell structure
The space_cell represents a rectangular region of space, and physically stores all particle data. A set of cells form a uniform rectangular grid.
Simulation box divided into cells with size equal to or slightly larger than the largest non-bonded force cutoff distance. Each particle only interacts with others in its own cell or adjacent cells