Changes to keep clang happy.

This commit is contained in:
Henry
2011-07-05 17:01:40 +01:00
parent 4c8b4d412f
commit 012dc7ecba
2 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,4 @@
volScalarField rAUrel = 1.0/UrelEqn().A();
volScalarField rAUrel(1.0/UrelEqn().A());
Urel = rAUrel*UrelEqn().H();
if (pimple.nCorr() <= 1)

View File

@ -83,10 +83,8 @@ class fanPressureFvPatchScalarField
:
public totalPressureFvPatchScalarField
{
// Private data
//- Tabulated fan curve
interpolationTable<scalar> fanCurve_;
public:
//- Fan flow direction
enum fanFlowDirection
@ -97,6 +95,13 @@ class fanPressureFvPatchScalarField
static const NamedEnum<fanFlowDirection, 2> fanFlowDirectionNames_;
private:
// Private data
//- Tabulated fan curve
interpolationTable<scalar> fanCurve_;
//- Direction of flow through the fan relative to patch
fanFlowDirection direction_;