From bf7929d517e821f948a8b6edecdad397b0cd548b Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Wed, 10 Sep 2014 15:56:54 +0100
Subject: [PATCH] sixDoFRigidBodyMotion: write state including orientation

e.g.

6-DoF rigid body motion
    Centre of rotation: (0.5 0.449959005542 0.1)
    Centre of mass: (0.499992877433 0.449959005542 0.349999999899)
    Orientation: (0.999999999594 0 -2.84902661966e-05 0 1 0 2.84902661966e-05 0 0.999999999594)
    Linear velocity: (0 -0.0028756594439 0)
    Angular velocity: (0 -0.00244725501844 0)
---
 .../sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C      | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C
index 11a2a21ebf3..62027df4cda 100644
--- a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C
+++ b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C
@@ -331,10 +331,12 @@ void Foam::sixDoFRigidBodyMotion::updateAcceleration
 
 void Foam::sixDoFRigidBodyMotion::status() const
 {
-    Info<< "Centre of rotation: " << centreOfRotation() << nl
-        << "Centre of mass: " << centreOfMass() << nl
-        << "Linear velocity: " << v() << nl
-        << "Angular velocity: " << omega()
+    Info<< "6-DoF rigid body motion" << nl
+        << "    Centre of rotation: " << centreOfRotation() << nl
+        << "    Centre of mass: " << centreOfMass() << nl
+        << "    Orientation: " << orientation() << nl
+        << "    Linear velocity: " << v() << nl
+        << "    Angular velocity: " << omega()
         << endl;
 }
 
-- 
GitLab