Skip to content
Snippets Groups Projects
Commit 24e7261a authored by andy's avatar andy
Browse files

ENH: Improved output messages

parent 2aba2c99
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -36,6 +36,7 @@ License ...@@ -36,6 +36,7 @@ License
#include "diagTensor.H" #include "diagTensor.H"
#include "transformField.H" #include "transformField.H"
#include "SubField.H" #include "SubField.H"
#include "unitConversion.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
...@@ -272,10 +273,14 @@ void Foam::cyclicPolyPatch::calcTransforms ...@@ -272,10 +273,14 @@ void Foam::cyclicPolyPatch::calcTransforms
if (debug) if (debug)
{ {
scalar theta = radToDeg(acos(n0 & n1));
Pout<< "cyclicPolyPatch::calcTransforms :" Pout<< "cyclicPolyPatch::calcTransforms :"
<< " patch:" << name() << " patch:" << name()
<< " Specified rotation :" << " Specified rotation :"
<< " n0:" << n0 << " n1:" << n1 << endl; << " n0:" << n0 << " n1:" << n1
<< " swept angle: " << theta << " [deg]"
<< endl;
} }
// Extended tensor from two local coordinate systems calculated // Extended tensor from two local coordinate systems calculated
...@@ -432,10 +437,14 @@ void Foam::cyclicPolyPatch::getCentresAndAnchors ...@@ -432,10 +437,14 @@ void Foam::cyclicPolyPatch::getCentresAndAnchors
if (debug) if (debug)
{ {
scalar theta = radToDeg(acos(n0 & n1));
Pout<< "cyclicPolyPatch::getCentresAndAnchors :" Pout<< "cyclicPolyPatch::getCentresAndAnchors :"
<< " patch:" << name() << " patch:" << name()
<< " Specified rotation :" << " Specified rotation :"
<< " n0:" << n0 << " n1:" << n1 << endl; << " n0:" << n0 << " n1:" << n1
<< " swept angle: " << theta << " [deg]"
<< endl;
} }
// Extended tensor from two local coordinate systems calculated // Extended tensor from two local coordinate systems calculated
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment