Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
TissueForge::space_cell Struct Reference

the space_cell structure More...

#include <tfSpace_cell.h>

Collaboration diagram for TissueForge::space_cell:

Public Attributes

unsigned int flags
 
int id
 
int loc [3]
 
FPTYPE origin [3]
 
FPTYPE dim [3]
 
int size
 
int count
 
struct Particleparts
 
FPTYPE epot
 
struct Particleincomming
 
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 tasksort
 
int GPUID
 
FPTYPE computed_volume
 

Detailed Description

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


The documentation for this struct was generated from the following file: