• Alexis SALZMAN's avatar
    [xMeshTool] add a new Parmetis partition function with weight · bc7d89a7
    Alexis SALZMAN authored
    This commit is adding template function setParmetisPartitionWithWeight that
    use a set of weights per element to optimize ParMetis partitioning based on
    multi criteria (the weights).  The template parameter (an int) is fixing the
    number of weights per element. The interface is kept simple. Only an extra
    xAttachedDataManagerAOMD is used to passe weights set per element.
    
    No test case for now but it have been heavily tested in some apps.
    
    This function is using almost the same algo as the one used for
    setParmetisPartition in the cc file. It is rather dirty (code
    duplication) but efficient.
    
    It add also a new dependency in terms of cmake. xInterfaceParMetis must
    now be added in cmake to use xLoadBalanceTools. But anyway from my point
    of view it should already be the case. Normally xInterfaceParMetis should
    embedded ParMetis and in cmake finding metis/parmetis lib should not be
    done.... Modern cmake would do even more by setting all this dependency
    setting for you .....
    bc7d89a7
Name
Last commit
Last update
Trellis Loading commit data...
xAnalyticalSolution Loading commit data...
xCrack Loading commit data...
xCut Loading commit data...
xDomainDecomp Loading commit data...
xExport Loading commit data...
xExt Loading commit data...
xFEM Loading commit data...
xFastMarching Loading commit data...
xGeom Loading commit data...
xGraph Loading commit data...
xInterface Loading commit data...
xLinAlg Loading commit data...
xMapping Loading commit data...
xMeshTool Loading commit data...
xOctree Loading commit data...
xPhysics Loading commit data...
xQuadrature Loading commit data...
xTLS Loading commit data...
xTensor Loading commit data...
xTool Loading commit data...
xUtil Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
Ext_dependence.dot Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
Xfiles_dependence.dot Loading commit data...