diff --git a/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C index 2be7d3be5a7d0ae3ff13addb8e31b525e9a73747..4dd232091d1897f3a5efdc64698173f630125a6f 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C @@ -260,7 +260,7 @@ void directMappedFixedValueFvPatchField<Type>::updateCoeffs() allValues ); - newValues = this->patch().patchSlice(allValues); + newValues.transfer(allValues); break; } diff --git a/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C index 17fa6f71fb093b1b6fcc72eaed4c93577cf95c2e..36821fe72f01f0f76bce8f0acaf5dc7d50ebad1e 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C @@ -198,7 +198,7 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs() distMap.constructMap(), allUValues ); - newUValues = patch().patchSlice(allUValues); + newUValues.transfer(allUValues); mapDistribute::distribute ( @@ -209,7 +209,7 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs() distMap.constructMap(), allPhiValues ); - newPhiValues = patch().patchSlice(allPhiValues); + newPhiValues.transfer(allPhiValues); break; }