ug4
distribution.cpp File Reference

Classes

class  ug::ComPol_SynchronizeDistInfos< TLayout >
 Communicates the distribution infos through existing interfaces. More...
 
class  ug::DistInfoSupplier
 Automatically attaches ADistInfo to all elements of a grid. More...
 
struct  ug::TargetProcInfo
 

Namespaces

 ug
 the ug namespace
 

Typedefs

typedef Attachment< vector< TargetProcInfo > > ug::ADistInfo
 

Functions

template<class TElem >
static void ug::AddGlobalAttachmentsToSerializer (GridDataSerializationHandler &handler, Grid &grid)
 Adds serializers for all registered global attachments. More...
 
template<class TElem >
static void ug::AddTargetProcToDistInfos (MGSelector &msel, DistInfoSupplier &distInfos, int targetProc)
 
template<class TElem >
static void ug::AssignVerticalMasterAndSlaveStates (MGSelector &msel, bool partitionForLocalProc)
 
template<class TElem >
static void ug::CreateLayoutsFromDistInfos (MultiGrid &mg, GridLayoutMap &glm, DistInfoSupplier &distInfos, AGeomObjID &aGID)
 
bool ug::DistributeGrid (MultiGrid &mg, SubsetHandler &shPartition, GridDataSerializationHandler &serializer, bool createVerticalInterfaces, const std::vector< int > *processMap=NULL, const pcl::ProcessCommunicator &procComm=pcl::ProcessCommunicator())
 distributes/redistributes parts of possibly distributed grids. More...
 
static void ug::FillDistInfos (MultiGrid &mg, SubsetHandler &shPartition, MGSelector &msel, DistInfoSupplier &distInfos, const std::vector< int > *processMap, const pcl::ProcessCommunicator &procComm, bool createVerticalInterfaces, vector< bool > &partitionIsEmpty)
 
template<class TElem >
static void ug::PostProcessDistInfos (MultiGrid &mg, DistInfoSupplier &distInfos)
 DistInfos are post-processed and some values are adjusted (primarily missing vslaves-marks are added) More...
 
static void ug::SelectAssociatedConstrainedElements (MGSelector &msel, ISelector::status_t status=ISelector::SELECTED)
 
template<class TElem >
static void ug::SelectAssociatedSides (MGSelector &msel, TElem *e, ISelector::status_t status=ISelector::SELECTED)
 Recursively selects unselected sides. More...
 
static void ug::SelectChildrenOfSelectedShadowRimEdges (MGSelector &msel, ISelector::status_t status=ISelector::SELECTED)
 
static void ug::SelectChildrenOfSelectedShadowRimFaces (MGSelector &msel, ISelector::status_t status=ISelector::SELECTED)
 
static void ug::SelectChildrenOfSelectedShadowVertices (MGSelector &msel, ISelector::status_t status=ISelector::SELECTED)
 Recursively selects all children of selected vertices. More...
 
static void ug::SelectElementsForTargetPartition (MGSelector &msel, SubsetHandler &shPartition, int partitionIndex, bool partitionForLocalProc, bool createVerticalInterfaces)
 
template<class TElem >
static void ug::SelectSelectedRootElementsAsVSlaves (MGSelector &msel)
 
template<class TElem >
static void ug::SelectUnselectedRootElementsAsVMasters (MGSelector &msel)
 
static void ug::SynchronizeAttachedGlobalAttachments (Grid &g, const pcl::ProcessCommunicator &procComm)
 
template<class TElem >
static void ug::SynchronizeDistInfos (MultiGrid &mg, DistInfoSupplier &distInfos)
 

Variables

static DebugID ug::LG_DIST ("LG_DIST")