BUG: Reporting unit vector, not scaled vector.

This commit is contained in:
graham
2010-09-24 14:48:00 +01:00
parent 8c6206e003
commit eb5f2954b9

View File

@ -96,7 +96,7 @@ void Foam::sixDoFRigidBodyMotionRestraints::linearSpring::restrain
if (motion.report()) if (motion.report())
{ {
Info<< " attachmentPt - anchor " << r Info<< " attachmentPt - anchor " << r*magR
<< " spring length " << magR << " spring length " << magR
<< " force " << restraintForce << " force " << restraintForce
<< " moment " << restraintMoment << " moment " << restraintMoment