mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
directMapped: fix nearestFace addressing
This commit is contained in:
@ -260,7 +260,7 @@ void directMappedFixedValueFvPatchField<Type>::updateCoeffs()
|
|||||||
allValues
|
allValues
|
||||||
);
|
);
|
||||||
|
|
||||||
newValues = this->patch().patchSlice(allValues);
|
newValues.transfer(allValues);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user