mapFields: Corrected handling of fixed value BCs
Fix provided by Mattijs Janssens
This commit is contained in:
parent
b17c4b7e04
commit
9fd04eb6ba
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue