diff --git a/src/regionModels/thermoBaffleModels/derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C b/src/regionModels/thermoBaffleModels/derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C index 082f6ae5d1..af07a07057 100644 --- a/src/regionModels/thermoBaffleModels/derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C +++ b/src/regionModels/thermoBaffleModels/derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C @@ -107,8 +107,8 @@ temperatureThermoBaffleFvPatchScalarField << exit(FatalError); } - const directMappedPatchBase& mpp = - refCast(patch().patch()); + const mappedPatchBase& mpp = + refCast(patch().patch()); const word nbrMesh = mpp.sampleRegion();