From ee705d7ae2bec06184374b6ba43b1651da68e10d Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Wed, 10 Feb 2016 09:44:38 +0000 Subject: [PATCH] rotatingWallVelocityFvPatchVectorField: Minor update --- .../rotatingWallVelocityFvPatchVectorField.C | 32 +++++++++---------- .../rotatingWallVelocityFvPatchVectorField.H | 5 ++- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.C index 791e07c799..4262a54a3f 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.C @@ -44,22 +44,6 @@ rotatingWallVelocityFvPatchVectorField {} -Foam::rotatingWallVelocityFvPatchVectorField:: -rotatingWallVelocityFvPatchVectorField -( - const rotatingWallVelocityFvPatchVectorField& ptf, - const fvPatch& p, - const DimensionedField<vector, volMesh>& iF, - const fvPatchFieldMapper& mapper -) -: - fixedValueFvPatchField<vector>(ptf, p, iF, mapper), - origin_(ptf.origin_), - axis_(ptf.axis_), - omega_(ptf.omega_, false) -{} - - Foam::rotatingWallVelocityFvPatchVectorField:: rotatingWallVelocityFvPatchVectorField ( @@ -88,6 +72,22 @@ rotatingWallVelocityFvPatchVectorField } +Foam::rotatingWallVelocityFvPatchVectorField:: +rotatingWallVelocityFvPatchVectorField +( + const rotatingWallVelocityFvPatchVectorField& ptf, + const fvPatch& p, + const DimensionedField<vector, volMesh>& iF, + const fvPatchFieldMapper& mapper +) +: + fixedValueFvPatchField<vector>(ptf, p, iF, mapper), + origin_(ptf.origin_), + axis_(ptf.axis_), + omega_(ptf.omega_, false) +{} + + Foam::rotatingWallVelocityFvPatchVectorField:: rotatingWallVelocityFvPatchVectorField ( diff --git a/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.H index 9cbb121a6d..3d08d32b89 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.H @@ -50,12 +50,11 @@ Description } \endverbatim - The \c omega entry is a Function1 type, able to describe time varying - functions. + The \c omega entry is a Function1 of time, see Foam::Function1Types. SeeAlso - Foam::Function1Types Foam::fixedValueFvPatchField + Foam::Function1Types SourceFiles rotatingWallVelocityFvPatchVectorField.C -- GitLab