mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: code clean-up and dummy git push for mattijs
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
@ -45,14 +45,13 @@ namespace Foam
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class maxwellSlipUFvPatch Declaration
|
||||
Class maxwellSlipUFvPatch Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user