Commit 6fb5c1f5 authored by Henry Weller's avatar Henry Weller Committed by mattijs
Browse files

mappedFieldFvPatchField: Added base-class autoMap/rmap calls

Patch contributed by Mattijs Janssens
parent 6c22596f
...@@ -2,7 +2,7 @@ ...@@ -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 ...@@ -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 ...@@ -155,6 +156,7 @@ void Foam::mappedFieldFvPatchField<Type>::rmap
const labelList& addr const labelList& addr
) )
{ {
fixedValueFvPatchField<Type>::rmap(ptf, addr);
mappedPatchBase::clearOut(); mappedPatchBase::clearOut();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment