diff --git a/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.C index ee4b7fa9d7..3dff767145 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.C @@ -151,7 +151,7 @@ void Foam::mappedFieldFvPatchField::autoMap template void Foam::mappedFieldFvPatchField::rmap ( - const fvPatchScalarField& ptf, + const fvPatchField& ptf, const labelList& addr ) { diff --git a/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.H index ab52c3d32b..59af6f564c 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedFieldFvPatchField.H @@ -204,7 +204,7 @@ public: //- Reverse map the given fvPatchField onto this fvPatchField virtual void rmap ( - const fvPatchScalarField&, + const fvPatchField&, const labelList& );