Skip to content
Snippets Groups Projects
Commit 91abb4c6 authored by andy's avatar andy
Browse files

BUG: Corrected AMI weights normalisation output info

parent 43f56cfa
No related merge requests found
...@@ -1240,8 +1240,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update ...@@ -1240,8 +1240,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update
); );
// weights normalisation // weights normalisation
normaliseWeights(tgtPatch, "source", srcAddress_, srcWeights_, true); normaliseWeights(srcPatch, "source", srcAddress_, srcWeights_, true);
normaliseWeights(srcPatch, "target", tgtAddress_, tgtWeights_, true); normaliseWeights(tgtPatch, "target", tgtAddress_, tgtWeights_, true);
// cache maps and reset addresses // cache maps and reset addresses
List<Map<label> > cMap; List<Map<label> > cMap;
...@@ -1268,8 +1268,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update ...@@ -1268,8 +1268,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update
writeWeights(tgtWeights_, tgtPatch, "VTK", "target"); writeWeights(tgtWeights_, tgtPatch, "VTK", "target");
} }
normaliseWeights(tgtPatch, "source", srcAddress_, srcWeights_, true); normaliseWeights(srcPatch, "source", srcAddress_, srcWeights_, true);
normaliseWeights(srcPatch, "target", tgtAddress_, tgtWeights_, true); normaliseWeights(tgtPatch, "target", tgtAddress_, tgtWeights_, true);
} }
patchI++; patchI++;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment