From 99bad8c8a33e0a7b6d1bb47c3cbe3589935ffbb1 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 11 Jun 2014 11:04:44 +0100 Subject: [PATCH] Formatting --- src/foam/coordinateSystems/coordinateSystem.H | 6 +++++- .../polyPatches/constraint/cyclic/cyclicPolyPatch.C | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/foam/coordinateSystems/coordinateSystem.H b/src/foam/coordinateSystems/coordinateSystem.H index e5caefacf..774c0b6b9 100644 --- a/src/foam/coordinateSystems/coordinateSystem.H +++ b/src/foam/coordinateSystems/coordinateSystem.H @@ -198,6 +198,7 @@ protected: bool translate ) const; + public: //- Runtime type information @@ -308,6 +309,7 @@ public: //- Select constructed from Istream static autoPtr New(Istream& is); + // Destructor virtual ~coordinateSystem(); @@ -414,6 +416,7 @@ public: return origin_; } + // Write //- Write @@ -422,6 +425,7 @@ public: //- Write dictionary virtual void writeDict(Ostream&, bool subDict = true) const; + // Transformations //- Convert from position in local coordinate system to @@ -487,7 +491,7 @@ public: void operator=(const dictionary&); - // friend Operators + // Friend Operators friend bool operator!= ( diff --git a/src/foam/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C b/src/foam/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C index 0afd406df..8f830b218 100644 --- a/src/foam/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C +++ b/src/foam/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C @@ -849,6 +849,7 @@ Foam::cyclicPolyPatch::cyclicPolyPatch if (dict.found("transform")) { transform_ = transformTypeNames.read(dict.lookup("transform")); + switch (transform_) { case ROTATIONAL: