From 9537d07c25539f9b035b76bac6b6783db73dafb3 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 16 Sep 2019 17:44:06 +0100 Subject: [PATCH] Formatting --- src/lduSolvers/amg/amgPolicy/clusterAmgPolicy.C | 7 +++++-- src/lduSolvers/amg/amgPolicy/pamgPolicy.C | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/lduSolvers/amg/amgPolicy/clusterAmgPolicy.C b/src/lduSolvers/amg/amgPolicy/clusterAmgPolicy.C index 850917962..7c2bf1932 100644 --- a/src/lduSolvers/amg/amgPolicy/clusterAmgPolicy.C +++ b/src/lduSolvers/amg/amgPolicy/clusterAmgPolicy.C @@ -796,7 +796,10 @@ Foam::autoPtr Foam::clusterAmgPolicy::restrictMatrix() const { if (interfaceFields().set(intI)) { - interfaceFields()[intI].coupledInterface().initInternalFieldTransfer + const lduInterface& fineInterface = + interfaceFields()[intI].coupledInterface(); + + fineInterface.initInternalFieldTransfer ( Pstream::blocking, child_ @@ -981,7 +984,7 @@ Foam::autoPtr Foam::clusterAmgPolicy::restrictMatrix() const } } } - + Info<< "Finished restricting matrix" << endl; // Create and return amgMatrix return autoPtr ( diff --git a/src/lduSolvers/amg/amgPolicy/pamgPolicy.C b/src/lduSolvers/amg/amgPolicy/pamgPolicy.C index 0f5829660..fef649ea4 100644 --- a/src/lduSolvers/amg/amgPolicy/pamgPolicy.C +++ b/src/lduSolvers/amg/amgPolicy/pamgPolicy.C @@ -606,7 +606,10 @@ Foam::autoPtr Foam::pamgPolicy::restrictMatrix() const { if (interfaceFields().set(intI)) { - interfaceFields()[intI].coupledInterface().initInternalFieldTransfer + const lduInterface& fineInterface = + interfaceFields()[intI].coupledInterface(); + + fineInterface.initInternalFieldTransfer ( Pstream::blocking, child_