From fc73c4629ae9852a0dbd284f83fc0c4f4bfc58fb Mon Sep 17 00:00:00 2001 From: andy <andy> Date: Mon, 13 May 2013 17:50:10 +0100 Subject: [PATCH] STYLE: minor code formatting --- .../cfdTools/general/adjustPhi/adjustPhi.C | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C b/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C index 206e7c4e95e..27622aeeb77 100644 --- a/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C +++ b/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C @@ -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 @@ -56,11 +56,7 @@ bool Foam::adjustPhi if (!isA<processorFvsPatchScalarField>(phip)) { - if - ( - Up.fixesValue() - && !isA<inletOutletFvPatchVectorField>(Up) - ) + if (Up.fixesValue() && !isA<inletOutletFvPatchVectorField>(Up)) { forAll(phip, i) { @@ -113,8 +109,12 @@ bool Foam::adjustPhi { FatalErrorIn ( - "adjustPhi(surfaceScalarField& phi, const volVectorField& U," - "const volScalarField& p" + "adjustPhi" + "(" + "surfaceScalarField&, " + "const volVectorField&," + "volScalarField&" + ")" ) << "Continuity error cannot be removed by adjusting the" " outflow.\nPlease check the velocity boundary conditions" " and/or run potentialFoam to initialise the outflow." << nl -- GitLab