Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
domain_distribution.h File Reference

Go to the source code of this file.

Namespaces

namespace  ug
 the ug namespace
 

Functions

template<typename TDomain >
static bool ug::DistributeDomain (TDomain &domainOut, PartitionMap &partitionMap, bool createVerticalInterfaces)
 distributes a already distributed domain onto the specified processes
 
template<typename TDomain >
static bool ug::PartitionDomain_Bisection (TDomain &domain, PartitionMap &partitionMap, int firstAxisToCut)
 partitions a domain by repeatedly cutting it along the different axis
 
template<typename TDomain >
static bool ug::PartitionDomain_LevelBased (TDomain &domain, PartitionMap &partitionMap, int numPartitions, size_t level)
 Partitions a domain based on the elements of one level.
 
template<typename TDomain >
static bool ug::PartitionDomain_MetisKWay (TDomain &domain, PartitionMap &partitionMap, int numPartitions, size_t baseLevel, SmartPtr< PartitionWeighting > weightFct)
 partitions a domain by using graph-based partitioning by METIS
 
template<typename TDomain >
static bool ug::PartitionDomain_MetisKWay (TDomain &domain, PartitionMap &partitionMap, int numPartitions, size_t baseLevel=0, int hWeight=1, int vWeight=1)
 partitions a domain by using graph-based partitioning by METIS
 
template<typename TDomain >
static bool ug::PartitionDomain_RegularGrid (TDomain &domain, PartitionMap &partitionMap, int numCellsX, int numCellsY, int numCellsZ, bool surfaceOnly)
 partitions a domain by sorting all elements into a regular grid