How to use sparseblockStructure? #106
Replies: 2 comments
-
|
Hi @ErenC1, For the moment HemoCell does not support sparse structures. The mAB{x,y,z} parameters help overwrite the atomic block size. In the future the aim is to also use this parameter to define sparse structures. In theory this should not be a very difficult problem, since Palabos and all the data structures used in HemoCell should support functionality for this out of the box. (Then again, in theory...). If you are interested, look into the Palabos Tutorial 2.4, and the use of the function "reparallelize". |
Beta Was this translation helpful? Give feedback.
-
|
Hi @gzavo I tried to overwrite standard decomposition when preInlet.h is present, in that case, mAB(x,y,z) lines read from the config file and I could change the structure. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am having trouble with parallelization due to my "irregular" shaped domains and looks like sparseblock is my solution. (HemoCell 2.6)
HemoCell/core/hemoCell.cpp
Lines 538 to 542 in d916987
HemoCell/core/hemoCell.cpp
Line 559 in d916987
What I understood from these lines code checks the config.xml file for mABx,y,z and if it is found, code uses these values to overwrite regulardistribution. I don't need to do any change in my case.cpp right? like adding some lines to voxelizedDomain.get()->getMultiBlockManagement(HERE), it is already in the hemocell.cpp file.
I inserted mABx,y,z lines (separately) to config.xml/domain
But when I run the case I don't see the log line that indicates domain decomposition is overwritten, neither domain is decomposed by using mABx,y,z. What could be wrong here?
Beta Was this translation helpful? Give feedback.
All reactions