[MOAB-dev] Memory continuity

Kanaev A.A. kanaev at ibrae.ac.ru
Wed Dec 17 20:20:31 CST 2014


Sorry if the scheme is broken, the point was:
 - to get contiguous memory for 2d and 3d entities
 - to arrange memory for different subsets in a certain order 

________________________________________
From: Kanaev A.A.
Sent: Thursday, December 18, 2014 5:16 AM
To: moab-dev at mcs.anl.gov
Subject: Memory continuity

Hello MOAB-dev,

I read .h5m file in parallel with resolving shared entities and exchanging 1 layer of ghost cells+ faces

cells and faces are Ranges of all 3d and 2d entities corresp.

i get different subgroups of cells (owned cells, gost cells) and faces(skin faces, inner faces, interface faces, ghost faces) into different Ranges

I have loops over that Ranges inside main iterations loop

Can i get the following contiguous memory map for 2d and 3d entities' tags by using ReorderTool?


                                                                            ghost cells start
     |____________________________________________||_______________|
cells start, owned cells start           owned cells end                      ghost_cells_end,
                                                                                                      cells end

                                                  inner faces start                                          interface faces start    ghost faces start
     |___________________________||__________________________________________||_____________________||___________________________|
skin faces start,      skin faces end                                           inner faces end,     interface faces end                                       ghost faces end
non ghost faces start,                                                              non ghost faces end                                                                    faces end
faces start




Thanks
Anton


More information about the moab-dev mailing list