diff --git a/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.C index ec66616b44124b9b4637defec76b90de90269aad..486087e86a41c1d02a2e16bc49dfc0c3fd659cb9 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -56,7 +56,7 @@ Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField refGrad_(ptf.refGrad_, mapper), valueFraction_(ptf.valueFraction_, mapper) { - if (mapper.hasUnmapped()) + if (&iF && mapper.hasUnmapped()) { WarningIn ( diff --git a/src/finiteVolume/fields/fvPatchFields/basic/fixedGradient/fixedGradientFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/fixedGradient/fixedGradientFvPatchField.C index 9c46ecb089dfbb5d7087a78bd29b2b9b43c81c77..18af2c4db332aed5d5c7d447d9b0a9625975cb84 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/fixedGradient/fixedGradientFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/fixedGradient/fixedGradientFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -57,7 +57,7 @@ fixedGradientFvPatchField<Type>::fixedGradientFvPatchField fvPatchField<Type>(ptf, p, iF, mapper), gradient_(ptf.gradient_, mapper) { - if (mapper.hasUnmapped()) + if (&iF && mapper.hasUnmapped()) { WarningIn ( diff --git a/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.C index 4fcf0863aa59e8430dbcb3b89ef9011d0ef9ab32..526fc41672e711f4e1b8bcbf8e1db7bb847539b7 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -66,13 +66,13 @@ fixedValueFvPatchField<Type>::fixedValueFvPatchField : fvPatchField<Type>(ptf, p, iF, mapper) { - if (mapper.hasUnmapped()) + if (&iF && mapper.hasUnmapped()) { WarningIn ( "fixedValueFvPatchField<Type>::fixedValueFvPatchField\n" "(\n" - " const fixedGradientFvPatchField<Type>&,\n" + " const fixedValueFvPatchField<Type>&,\n" " const fvPatch&,\n" " const DimensionedField<Type, volMesh>&,\n" " const fvPatchFieldMapper&\n" diff --git a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C index 378b5bbcf78419ba9e4cffc21041c085e06ca4f0..eba0a0a85199914e840449bfc057049b16ee6cfb 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -60,7 +60,7 @@ mixedFvPatchField<Type>::mixedFvPatchField refGrad_(ptf.refGrad_, mapper), valueFraction_(ptf.valueFraction_, mapper) { - if (mapper.hasUnmapped()) + if (&iF && mapper.hasUnmapped()) { WarningIn (