mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
mapFields: Corrected handling of fixed value BCs
Fix provided by Mattijs Janssens
This commit is contained in:
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user