barbagroup / inexact-gmres

Paper: inexact GMRES with fast multipole method and low-p relaxation
9 stars 4 forks source link

Can we have more details about how the red blood cells were arranged? #5

Closed labarba closed 9 years ago

labarba commented 9 years ago

There is one figure showing four red blood cells in a more-or-less linear arrangement, but the tests were done with up to 64 cells. How were the cells spatially arranged? The text says they were rotated randomly, but what about the linear spacing? Were they all in a line, or were they shifted sideways, as well?

slayton58 commented 9 years ago

This is defined in fmmplan/examples/BEM/Triangulation.hpp

Essentially I create a random rotation matrix and random offset vector. For each RBC I rotate and shift. Coding up bounding boxes etc. to allow more tightly packed cells was future work.

labarba commented 9 years ago

Random offset vector, in any direction? with magnitude between 0 and 1? how are overlaps between cells avoided? (just need a description in words that can be entered into the text)

slayton58 commented 9 years ago

Always in the +ve x-direction, and y and z directions — it produces something analogous to the 4 RBC case in the thesis. Overlaps were avoided by scaling the offset vector to ensure that there could be no overlap. Not high-tech but it worked

On Jun 2, 2015, at 8:36 AM, Lorena A. Barba notifications@github.com wrote:

Random offset vector, in any direction? with magnitude between 0 and 1? how are overlaps between cells avoided? (just need a description in words that can be entered into the text)

— Reply to this email directly or view it on GitHub https://github.com/barbagroup/inexact-gmres/issues/5#issuecomment-107938753.