Skip to content
Snippets Groups Projects
Commit 6ef90681 authored by Henry's avatar Henry
Browse files

MGridGenGAMGAgglomeration: add support for weighting and iterating the...

MGridGenGAMGAgglomeration: add support for weighting and iterating the agglomeration between adjacent processors to improve correspondence
parent 48212d85
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
......
...@@ -67,6 +67,29 @@ class MGridGenGAMGAgglomeration ...@@ -67,6 +67,29 @@ class MGridGenGAMGAgglomeration
// Private Member Functions // 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 //- Construct the CSR format addressing
void makeCompactCellFaceAddressingAndFaceWeights void makeCompactCellFaceAddressingAndFaceWeights
( (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment