From 97bb93436b32d45c6b059a15d141fa8532f65e80 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 5 Sep 2013 15:57:21 +0100 Subject: [PATCH] ENH: fvMeshSubset: surface fields mapping --- .../fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C index b389c5afce..ff86f2c2e5 100644 --- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C +++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C @@ -271,8 +271,11 @@ tmp > fvMeshSubset::interpolate else { // Mapped from internal face. Do what? Leave up to - // patchField - directAddressing[i] = -1; + // patchField. This would require also to pass in + // original internal field so for now keep original + // behaviour of mapping original patch face 0 + //directAddressing[i] = -1; + directAddressing[i] = 0; } }