All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Mat3x3Diag_Manip Class Reference

#include <matvec3.h>

Inheritance diagram for Mat3x3Diag_Manip:
Collaboration diagram for Mat3x3Diag_Manip:

Public Member Functions

 Mat3x3Diag_Manip ()
void Manipulate (Mat3x3 &m, const Vec3 &v) const
- Public Member Functions inherited from Mat3x3_Manip
virtual void Manipulate (Mat3x3 &m) const
virtual void Manipulate (Mat3x3 &m, const doublereal d) const
virtual void Manipulate (Mat3x3 &m, const Vec3 &v1, const Vec3 &v2) const
virtual ~Mat3x3_Manip (void)

Detailed Description

Definition at line 1478 of file matvec3.h.

Constructor & Destructor Documentation

Mat3x3Diag_Manip::Mat3x3Diag_Manip ( )

Definition at line 1480 of file matvec3.h.

1480 {};

Member Function Documentation

void Mat3x3Diag_Manip::Manipulate ( Mat3x3 m,
const Vec3 v 
) const

Reimplemented from Mat3x3_Manip.

Definition at line 1481 of file matvec3.h.

References M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pGetMat(), Vec3::pGetVec(), V1, V2, and V3.

1481  {
1482  doublereal *pdm = m.pGetMat();
1483  const doublereal *pdv = v.pGetVec();
1485  pdm[M11] = pdv[V1];
1486  pdm[M12] = 0.;
1487  pdm[M13] = 0.;
1488  pdm[M21] = 0.;
1489  pdm[M22] = pdv[V2];
1490  pdm[M23] = 0.;
1491  pdm[M31] = 0.;
1492  pdm[M32] = 0.;
1493  pdm[M33] = pdv[V3];
1494  };
Definition: matvec3.h:59
Definition: matvec3.h:50
Definition: matvec3.h:58
Definition: matvec3.h:51
Definition: matvec3.h:55
Definition: matvec3.h:56
Definition: matvec3.h:63
Definition: matvec3.h:62
Definition: matvec3.h:61
Definition: matvec3.h:57
const doublereal * pGetMat(void) const
Definition: matvec3.h:743
Definition: matvec3.h:49
const doublereal * pGetVec(void) const
Definition: matvec3.h:192
Definition: matvec3.h:60
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

The documentation for this class was generated from the following file: