|
[Sponsors] |
July 4, 2014, 13:02 |
cell_t and thread *t for cells
|
#1 |
New Member
Garvit Goel
Join Date: May 2014
Posts: 11
Rep Power: 12 |
Lets say I first loop over the entire domain and store cell_t c and thread *t for every cell.
Can I later access a cell using these c and t? For eg i store cell_t c and thread *t of some cell in global variables c_global and t_global. Then in some other function I do C_CENTROID ( xc , c_global, t_global ); Will xc hold the centroid of that original cell? Thanks a lot garvit goel Imperial college |
|
|
|