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

Public Attributes | |
| FPTYPE | dim [3] |
| FPTYPE | origin [3] |
| int | cdim [3] |
| int | span [3] |
| FPTYPE | h [3] |
| FPTYPE | ih [3] |
| FPTYPE | cutoff |
| FPTYPE | cutoff2 |
| unsigned int | period |
| int | nr_cells |
| int * | cid_real |
| int * | cid_ghost |
| int * | cid_marked |
| int | nr_real |
| int | nr_ghost |
| int | nr_marked |
| struct space_cell * | cells |
| int | nr_tasks |
| int | tasks_size |
| struct task * | tasks |
| pthread_mutex_t | tasks_mutex |
| pthread_cond_t | tasks_avail |
| char * | cells_taboo |
| char * | cells_owner |
| int | nr_swaps |
| int | nr_stalls |
| struct Particle ** | partlist |
| space_cell | largeparts |
| struct space_cell ** | celllist |
| int | nr_parts |
| int | size_parts |
| int | nr_visible_parts |
| int | nr_visible_large_parts |
| int | verlet_rebuild |
| FPTYPE | maxdx |
| FPTYPE | epot |
| FPTYPE | epot_nonbond |
| FPTYPE | epot_bond |
| FPTYPE | epot_angle |
| FPTYPE | epot_dihedral |
| FPTYPE | epot_exclusion |
| struct verlet_entry * | verlet_list |
| FPTYPE * | verlet_oldx |
| FPTYPE | verlet_maxdx |
| int * | verlet_nrpairs |
| int | verlet_size |
| int | verlet_next |
| pthread_mutex_t | verlet_force_mutex |
| int | nr_pairs |
| struct cellpair * | pairs |
| int | next_pair |
| struct celltuple * | tuples |
| int | nr_tuples |
| int | next_tuple |
| int | next_cell |
| pthread_mutex_t | cellpairs_mutex |
| pthread_cond_t | cellpairs_avail |
The space structure
| int TissueForge::space::cdim[3] |
Space dimension in cells.
| struct space_cell** TissueForge::space::celllist |
Array of pointers to the #cell of individual parts, sorted by their ID.
| pthread_cond_t TissueForge::space::cellpairs_avail |
Spin-lock for accessing the cell pairs. Condition to wait for free cells on.
| pthread_mutex_t TissueForge::space::cellpairs_mutex |
Mutex for accessing the cell pairs.
| struct space_cell* TissueForge::space::cells |
Array of cells spanning the space.
| char* TissueForge::space::cells_owner |
Id of #runner owning each cell.
| char* TissueForge::space::cells_taboo |
Taboo-list for collision avoidance
| int* TissueForge::space::cid_real |
IDs of real, ghost and marked cells.
| FPTYPE TissueForge::space::cutoff |
The cutoff and the cutoff squared.
| FPTYPE TissueForge::space::dim[3] |
Real dimensions.
| FPTYPE TissueForge::space::epot |
Potential energy collected by the space itself.
| FPTYPE TissueForge::space::h[3] |
Cell edge lengths and their inverse.
| space_cell TissueForge::space::largeparts |
store the large particles in the large parts cell, its special
| FPTYPE TissueForge::space::maxdx |
The maximum particle displacement over all cells.
| int TissueForge::space::next_pair |
Id of the next unprocessed pair (for #space_getpair)
| int TissueForge::space::next_tuple |
The ID of the next free tuple or cell.
| int TissueForge::space::nr_cells |
Total nr of cells in this space.
| int TissueForge::space::nr_pairs |
The total number of cell pairs.
| int TissueForge::space::nr_parts |
Number of parts in this space and size of the buffers partlist and celllist.
| int TissueForge::space::nr_swaps |
Counter for the number of swaps in every step.
| int TissueForge::space::nr_tasks |
The total number of tasks.
| int TissueForge::space::nr_tuples |
The number of tuples.
| int TissueForge::space::nr_visible_parts |
number of visible particles and large particles. Yes... mixing rendering and simulation, but put it here so we only have to go through the list once to get this count.
updated by engine_advance
| FPTYPE TissueForge::space::origin[3] |
Location of origin.
| struct cellpair* TissueForge::space::pairs |
Array of cell pairs.
| struct Particle** TissueForge::space::partlist |
Array of pointers to the individual parts, sorted by their ID.
| unsigned int TissueForge::space::period |
Periodicities.
| int TissueForge::space::span[3] |
Number of cells within cutoff in each dimension.
| struct task* TissueForge::space::tasks |
Array of tasks.
| pthread_mutex_t TissueForge::space::tasks_mutex |
Condition/mutex to signal task availability.
| struct celltuple* TissueForge::space::tuples |
Array of cell tuples.
| struct verlet_entry* TissueForge::space::verlet_list |
Data for the verlet list.
| int TissueForge::space::verlet_rebuild |
Trigger re-building the cells/sorts.