mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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