mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
MGridGenGAMGAgglomeration: add support for weighting and iterating the agglomeration between adjacent processors to improve correspondence
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -67,6 +67,29 @@ class MGridGenGAMGAgglomeration
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
void swap
|
||||
(
|
||||
const lduInterfacePtrsList& interfaces,
|
||||
const labelUList& cellValues,
|
||||
PtrList<labelList>& nbrValues
|
||||
) const;
|
||||
|
||||
void getNbrAgglom
|
||||
(
|
||||
const lduAddressing& addr,
|
||||
const lduInterfacePtrsList& interfaces,
|
||||
const PtrList<labelList>& nbrGlobalAgglom,
|
||||
labelList& cellToNbrAgglom
|
||||
) const;
|
||||
|
||||
void detectSharedFaces
|
||||
(
|
||||
const lduMesh& mesh,
|
||||
const labelList& value,
|
||||
labelHashSet& sharedFaces
|
||||
) const;
|
||||
|
||||
|
||||
//- Construct the CSR format addressing
|
||||
void makeCompactCellFaceAddressingAndFaceWeights
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user