MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
vehj3.cc File Reference
#include "mbconfig.h"
#include "dataman.h"
#include "vehj3.h"
#include "matvecexp.h"
#include "Rot.hh"
Include dependency graph for vehj3.cc:

Go to the source code of this file.

Functions

static void MultRMRtGammam1 (Mat6x6 &M, const Mat3x3 &R, const Mat3x3 &Gammam1)
 

Function Documentation

static void MultRMRtGammam1 ( Mat6x6 M,
const Mat3x3 R,
const Mat3x3 Gammam1 
)
static

Definition at line 44 of file vehj3.cc.

References Mat6x6::GetMat11(), Mat6x6::GetMat12(), Mat6x6::GetMat21(), Mat6x6::GetMat22(), Mat3x3::MulMT(), Mat6x6::PutMat11(), Mat6x6::PutMat12(), Mat6x6::PutMat21(), and Mat6x6::PutMat22().

Referenced by ElasticJoint::AfterPredict(), ElasticJointInv::AfterPredict(), and ViscoElasticJoint::AfterPredict().

45 {
46  Mat3x3 GM1RT(Gammam1.MulMT(R));
47 
48  M.PutMat11(R*(M.GetMat11().MulMT(R)));
49  M.PutMat12(R*(M.GetMat12()*GM1RT));
50  M.PutMat21(R*(M.GetMat21().MulMT(R)));
51  M.PutMat22(R*(M.GetMat22()*GM1RT));
52 }
Mat3x3 GetMat12(void)
Definition: matvec6.h:328
Mat3x3 GetMat21(void)
Definition: matvec6.h:324
Mat3x3 GetMat22(void)
Definition: matvec6.h:332
void PutMat22(const Mat3x3 &x)
Definition: matvec6.h:376
Mat3x3 GetMat11(void)
Definition: matvec6.h:320
void PutMat11(const Mat3x3 &x)
Definition: matvec6.h:364
void PutMat12(const Mat3x3 &x)
Definition: matvec6.h:372
Mat3x3 MulMT(const Mat3x3 &m) const
Definition: matvec3.cc:444
void PutMat21(const Mat3x3 &x)
Definition: matvec6.h:368

Here is the call graph for this function: