From 6dda5c251f58565ed602830e1d164271db9bd10c Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 3 Jun 2013 12:24:37 +0100 Subject: [PATCH] linearUpwind: Removed historical warning messages --- .../schemes/linearUpwind/linearUpwind.H | 29 ++--------------- .../schemes/linearUpwind/linearUpwindV.H | 31 ++----------------- 2 files changed, 6 insertions(+), 54 deletions(-) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H index 453603d287..1ef0c000f7 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -111,16 +111,7 @@ public: mesh.gradScheme(gradSchemeName_) ) ) - { - if (!schemeData.eof()) - { - IOWarningIn("linearUpwind(const fvMesh&, Istream&)", schemeData) - << "unexpected additional entries in stream." << nl - << " Only the name of the gradient scheme in the" - " 'gradSchemes' dictionary should be specified." - << endl; - } - } + {} //- Construct from faceFlux and Istream linearUpwind @@ -140,21 +131,7 @@ public: mesh.gradScheme(gradSchemeName_) ) ) - { - - if (!schemeData.eof()) - { - IOWarningIn - ( - "linearUpwind(const fvMesh&, " - "const surfaceScalarField& faceFlux, Istream&)", - schemeData - ) << "unexpected additional entries in stream." << nl - << " Only the name of the gradient scheme in the" - " 'gradSchemes' dictionary should be specified." - << endl; - } - } + {} // Member Functions diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H index 862e79b812..88034a7de9 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -110,19 +110,7 @@ public: mesh.gradScheme(gradSchemeName_) ) ) - { - if (!schemeData.eof()) - { - IOWarningIn - ( - "linearUpwindV(const fvMesh&, Istream&)", - schemeData - ) << "unexpected additional entries in stream." << nl - << " Only the name of the gradient scheme in the" - " 'gradSchemes' dictionary should be specified." - << endl; - } - } + {} //- Construct from faceFlux and Istream linearUpwindV @@ -142,20 +130,7 @@ public: mesh.gradScheme(gradSchemeName_) ) ) - { - if (!schemeData.eof()) - { - IOWarningIn - ( - "linearUpwindV(const fvMesh&, " - "const surfaceScalarField& faceFlux, Istream&)", - schemeData - ) << "unexpected additional entries in stream." << nl - << " Only the name of the gradient scheme in the" - " 'gradSchemes' dictionary should be specified." - << endl; - } - } + {} // Member Functions