From f5c2709b60b63e7224572abfe9facc9a8cc49d11 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 13 Sep 2019 18:58:37 +0100 Subject: [PATCH] Use const iterators when rebuilding AMG interfaces --- .../cyclicAMGInterface/cyclicAMGInterface.C | 25 ++++++----- .../ggiAMGInterface/ggiAMGInterface.C | 41 +++++++++++-------- .../processorAMGInterface.C | 23 ++++++----- 3 files changed, 53 insertions(+), 36 deletions(-) diff --git a/src/foam/matrices/lduMatrix/solvers/AMG/interfaces/AMGInterfaces/cyclicAMGInterface/cyclicAMGInterface.C b/src/foam/matrices/lduMatrix/solvers/AMG/interfaces/AMGInterfaces/cyclicAMGInterface/cyclicAMGInterface.C index 39ef8683d..fcf7d4f80 100644 --- a/src/foam/matrices/lduMatrix/solvers/AMG/interfaces/AMGInterfaces/cyclicAMGInterface/cyclicAMGInterface.C +++ b/src/foam/matrices/lduMatrix/solvers/AMG/interfaces/AMGInterfaces/cyclicAMGInterface/cyclicAMGInterface.C @@ -151,13 +151,14 @@ Foam::cyclicAMGInterface::cyclicAMGInterface // On master side, the owner addressing is stored in table of contents forAll (contents, masterI) { - SLList