From 81f824b230fab4c382b751395cb486fbd721244d Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 10 Nov 2013 13:59:26 +0000 Subject: [PATCH] Corrected for Clang --- .../functionObjects/field/nearWallFields/nearWallFields.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C b/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C index 67271ff7cb..83ede96387 100644 --- a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C +++ b/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C @@ -33,7 +33,7 @@ License namespace Foam { -defineTypeNameAndDebug(nearWallFields, 0); + defineTypeNameAndDebug(nearWallFields, 0); } @@ -72,8 +72,8 @@ void Foam::nearWallFields::calcAddressing() label patchI = iter.key(); const fvPatch& patch = mesh.boundary()[patchI]; - vectorField nf = patch.nf(); - vectorField faceCellCentres = patch.patch().faceCellCentres(); + vectorField nf(patch.nf()); + vectorField faceCellCentres(patch.patch().faceCellCentres()); forAll(patch, patchFaceI) {