mappedFieldFvPatchField: Added base-class autoMap/rmap calls

Patch contributed by Mattijs Janssens
This commit is contained in:
Henry Weller
2018-06-19 14:06:57 +01:00
parent 89f1053f82
commit 241b4a60fc

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -144,6 +144,7 @@ void Foam::mappedFieldFvPatchField<Type>::autoMap
const fvPatchFieldMapper& m const fvPatchFieldMapper& m
) )
{ {
fixedValueFvPatchField<Type>::autoMap(m);
mappedPatchBase::clearOut(); mappedPatchBase::clearOut();
} }
@ -155,6 +156,7 @@ void Foam::mappedFieldFvPatchField<Type>::rmap
const labelList& addr const labelList& addr
) )
{ {
fixedValueFvPatchField<Type>::rmap(ptf, addr);
mappedPatchBase::clearOut(); mappedPatchBase::clearOut();
} }