From 91abb4c6f80b9b4c486da7e972d2cd0ef70e67f5 Mon Sep 17 00:00:00 2001 From: andy <andy> Date: Thu, 25 Aug 2011 15:52:17 +0100 Subject: [PATCH] BUG: Corrected AMI weights normalisation output info --- src/AMIInterpolation/AMIInterpolation.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AMIInterpolation/AMIInterpolation.C b/src/AMIInterpolation/AMIInterpolation.C index dbbf026657e..cb11c6602b5 100644 --- a/src/AMIInterpolation/AMIInterpolation.C +++ b/src/AMIInterpolation/AMIInterpolation.C @@ -1240,8 +1240,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update ); // weights normalisation - normaliseWeights(tgtPatch, "source", srcAddress_, srcWeights_, true); - normaliseWeights(srcPatch, "target", tgtAddress_, tgtWeights_, true); + normaliseWeights(srcPatch, "source", srcAddress_, srcWeights_, true); + normaliseWeights(tgtPatch, "target", tgtAddress_, tgtWeights_, true); // cache maps and reset addresses List<Map<label> > cMap; @@ -1268,8 +1268,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update writeWeights(tgtWeights_, tgtPatch, "VTK", "target"); } - normaliseWeights(tgtPatch, "source", srcAddress_, srcWeights_, true); - normaliseWeights(srcPatch, "target", tgtAddress_, tgtWeights_, true); + normaliseWeights(srcPatch, "source", srcAddress_, srcWeights_, true); + normaliseWeights(tgtPatch, "target", tgtAddress_, tgtWeights_, true); } patchI++; -- GitLab