directMapped: fix nearestFace addressing

This commit is contained in:
mattijs
2010-10-14 10:00:50 +01:00
parent b161d8bbf2
commit 626fb9c542
2 changed files with 3 additions and 3 deletions

View File

@ -260,7 +260,7 @@ void directMappedFixedValueFvPatchField<Type>::updateCoeffs()
allValues allValues
); );
newValues = this->patch().patchSlice(allValues); newValues.transfer(allValues);
break; break;
} }

View File

@ -198,7 +198,7 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()
distMap.constructMap(), distMap.constructMap(),
allUValues allUValues
); );
newUValues = patch().patchSlice(allUValues); newUValues.transfer(allUValues);
mapDistribute::distribute mapDistribute::distribute
( (
@ -209,7 +209,7 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()
distMap.constructMap(), distMap.constructMap(),
allPhiValues allPhiValues
); );
newPhiValues = patch().patchSlice(allPhiValues); newPhiValues.transfer(allPhiValues);
break; break;
} }