From 03db0e7dfbc974180627a8a11a53446be5e56933 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 30 Apr 2010 11:17:38 +0100 Subject: [PATCH] BUG: Move constraint to symmetryPointPatch. Slip bc can now be used on non-constraint patches --- .../basic/basicSymmetry/basicSymmetryPointPatchField.H | 6 ------ .../constraint/symmetry/symmetryPointPatchField.H | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.H index 5d77b05804..0a53bd4795 100644 --- a/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.H @@ -121,12 +121,6 @@ public: // Evaluation functions - //- Return the constraint type this pointPatchField implements - virtual const word& constraintType() const - { - return symmetryPointPatch::typeName; - } - //- Update the patch field virtual void evaluate ( diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/symmetry/symmetryPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/symmetry/symmetryPointPatchField.H index a7a2e349d1..d27c8496df 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/symmetry/symmetryPointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/symmetry/symmetryPointPatchField.H @@ -119,6 +119,16 @@ public: ) ); } + + + // Member functions + + //- Return the constraint type this pointPatchField implements + virtual const word& constraintType() const + { + return symmetryPointPatch::typeName; + } + };