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

mapFields: Corrected handling of fixed value BCs

Fix provided by Mattijs Janssens
parent cefb7719
Branches
Tags
No related merge requests found
......@@ -376,7 +376,7 @@ void Foam::meshToMesh::mapSrcToTgt
tgtField.rmap(tnewTgt(), identity(tgtField.size()));
}
tgtField = pTraits<Type>::zero;
tgtField == pTraits<Type>::zero;
AMIList[i].interpolateToTarget
(
......@@ -565,7 +565,7 @@ void Foam::meshToMesh::mapTgtToSrc
srcField.rmap(tnewSrc(), identity(srcField.size()));
}
srcField = pTraits<Type>::zero;
srcField == pTraits<Type>::zero;
AMIList[i].interpolateToSource
(
......
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