STY: Improving style

This commit is contained in:
Sergio Ferraris
2013-07-10 17:36:43 +01:00
parent 5eed286378
commit 0350efb5ed
2 changed files with 2 additions and 5 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -84,8 +84,6 @@ Foam::fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField
scalarField("value", dict, p.size()) scalarField("value", dict, p.size())
); );
gradient() = scalarField("gradient", dict, p.size()); gradient() = scalarField("gradient", dict, p.size());
//fixedGradientFvPatchScalarField::updateCoeffs();
//fixedGradientFvPatchScalarField::evaluate();
} }
else else
{ {
@ -203,7 +201,6 @@ void Foam::fixedFluxPressureFvPatchScalarField::write(Ostream& os) const
{ {
os.writeKeyword("adjoint") << adjoint_ << token::END_STATEMENT << nl; os.writeKeyword("adjoint") << adjoint_ << token::END_STATEMENT << nl;
} }
gradient().writeEntry("gradient", os);
writeEntry("value", os); writeEntry("value", os);
} }