From e596b40b5f94a64917c5cd755b617eb11ae3cdae Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 24 Jul 2013 12:26:34 +0100 Subject: [PATCH] STYLE: code clean-up --- .../externalCoupledMixedFvPatchField.C | 17 +++++++++++++---- ...lCoupledTemperatureMixedFvPatchScalarField.C | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/externalCoupledMixed/externalCoupledMixedFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/externalCoupledMixed/externalCoupledMixedFvPatchField.C index f47b6e8fca..15b24c8b1a 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/externalCoupledMixed/externalCoupledMixedFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/externalCoupledMixed/externalCoupledMixedFvPatchField.C @@ -27,6 +27,7 @@ License #include "fvPatchFieldMapper.H" #include "volFields.H" #include "IFstream.H" +#include "globalIndex.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -329,7 +330,10 @@ void Foam::externalCoupledMixedFvPatchField::initialiseRead FatalErrorIn ( "void Foam::externalCoupledMixedFvPatchField::" - "initialiseRead()" + "initialiseRead" + "(" + "IFstream&" + ") const" ) << "Unable to open data transfer file " << is.name() << " for patch " << this->patch().name() @@ -351,7 +355,10 @@ void Foam::externalCoupledMixedFvPatchField::initialiseRead FatalErrorIn ( "void Foam::externalCoupledMixedFvPatchField::" - "initialiseRead()" + "initialiseRead" + "(" + "IFstream&" + ") const" ) << "Unable to scan forward to appropriate read position for " << "data transfer file " << is.name() @@ -389,8 +396,10 @@ void Foam::externalCoupledMixedFvPatchField::readData { FatalErrorIn ( - "void Foam::externalCoupledMixedFvPatchField::" - "updateCoeffs()" + "void Foam::externalCoupledMixedFvPatchField::readData" + "(" + "const fileName&" + ")" ) << "Insufficient data for patch " << this->patch().name() diff --git a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C index a829a5096a..3d85ccda88 100644 --- a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C @@ -154,7 +154,7 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::transferData FatalErrorIn ( "void Foam::externalCoupledTemperatureMixedFvPatchScalarField::" - "writeData" + "transferData" "(" "OFstream&" ") const"