13.01.2014 Views

Tree Poisson solver

Tree Poisson solver

Tree Poisson solver

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Communication of grid properties<br />

• treeComBlkProperties()<br />

◮ nodetype, lrene, child, neigh and cell coords in each block<br />

◮ memory: MAXBLOCKS × nCPUs × (16×INT + 27×REAL)<br />

◮ for MAXBLOCKS = 1000, nCPU = 1000 → 300 MB<br />

◮ only active values communicated<br />

• treeFindNeighbours() (needed by interaction lists)<br />

◮ nds 26 neighbours in all (incl. diagonal) directions<br />

◮ tr surbox(2, 27, MAXBLOCKS)<br />

→ records block number and cpu of each neighbour<br />

Richard Wünsch, Flash workshop at the Hamburg Observatory, 15th February 2012 3/26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!