33 #ifndef __H__LIB_GRID__PARALLELIZATION_UTIL__
34 #define __H__LIB_GRID__PARALLELIZATION_UTIL__
37 #include <boost/function.hpp>
39 #define PROFILE_GRID_DISTRIBUTION
40 #ifdef PROFILE_GRID_DISTRIBUTION
41 #define GDIST_PROFILE_FUNC() PROFILE_FUNC_GROUP("gdist")
42 #define GDIST_PROFILE(name) PROFILE_BEGIN_GROUP(name, "gdist")
43 #define GDIST_PROFILE_END() PROFILE_END()
44 #define GDIST_PROFILE_END_(name) PROFILE_END_(name)
46 #define GDIST_PROFILE_FUNC()
47 #define GDIST_PROFILE(name)
48 #define GDIST_PROFILE_END()
70 template <
class TGeomObj>
location verbose
Definition: checkpoint_util.lua:128
int GetAssociatedInterfaceType(int interfaceType)
Returns the type of associated interfaces.
Definition: parallelization_util.cpp:46
AGeomObjID aGeomObjID
This attachment instance should be used to store global ids.
Attachment< GeomObjID > AGeomObjID
An attachment which can store GeomObjIDs.
Definition: grid_object_id.h:67
void CreateAndDistributeGlobalIDs(Grid &g, GridLayoutMap &glm, AGeomObjID &aID=aGeomObjID)
Creates and distributes global ids for the given element type.
Definition: parallelization_util_impl.hpp:44
bool TestGridLayoutMap(MultiGrid &mg, GridLayoutMap &glm, TAPos &aPos, bool verbose=true)
Definition: parallelization_util.cpp:80