STYLE: code clean-up and dummy git push for mattijs

This commit is contained in:
andy
2010-08-03 14:17:56 +01:00
parent 9e7cb86097
commit ae30b33e19
2 changed files with 7 additions and 8 deletions

View File

@ -105,8 +105,6 @@ maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField
(
vectorField("value", dict, p.size())
);
refValue() = vectorField("refValue", dict, p.size());
valueFraction() = scalarField("valueFraction", dict, p.size());
}
else
{
@ -131,7 +129,6 @@ maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
// Update the coefficients associated with the patch field
void maxwellSlipUFvPatchVectorField::updateCoeffs()
{
if (updated())
@ -179,7 +176,6 @@ void maxwellSlipUFvPatchVectorField::updateCoeffs()
}
// Write
void maxwellSlipUFvPatchVectorField::write(Ostream& os) const
{
fvPatchVectorField::write(os);
@ -190,8 +186,10 @@ void maxwellSlipUFvPatchVectorField::write(Ostream& os) const
<< thermalCreep_ << token::END_STATEMENT << nl;
os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl;
refValue().writeEntry("refValue", os);
valueFraction().writeEntry("valueFraction", os);
os.writeKeyword("refValue")
<< refValue() << token::END_STATEMENT << nl;
os.writeKeyword("valueFraction")
<< valueFraction() << token::END_STATEMENT << nl;
writeEntry("value", os);
}

View File

@ -52,7 +52,6 @@ class maxwellSlipUFvPatchVectorField
:
public mixedFixedValueSlipFvPatchVectorField
{
// Private data
// Accommodation coefficient
@ -67,6 +66,7 @@ class maxwellSlipUFvPatchVectorField
// Include boundary curvature term (default on)
Switch curvature_;
public:
//- Runtime type information
@ -128,6 +128,7 @@ public:
);
}
// Member functions
//- Update the coefficients associated with the patch field