MBDyn-1.7.3
|
#include <matvec3n.h>
Public Member Functions | |
VecN (void) | |
VecN (integer ns) | |
VecN (integer ns, const doublereal &d) | |
VecN (const VecN &) | |
VecN (const VectorHandler &vh, integer ns, integer iFirstIndex) | |
~VecN (void) | |
integer | iGetNumRows (void) const |
void | Resize (integer ns) |
void | Reset (const doublereal d=0.) |
void | Put (integer i, const doublereal &d) |
void | Add (integer i, const doublereal &d) |
void | Sub (integer i, const doublereal &d) |
const doublereal & | dGet (integer i) const |
const VecN & | Copy (const VectorHandler &vh, integer iFirstIndex=1) |
const doublereal * | pGetVec (void) const |
doublereal * | pGetVec (void) |
void | RightMult (const MatNx3 &n, const Vec3 &v) |
const VecN & | Mult (const MatNxN &m, const VecN &n) |
const VecN & | Mult (const MatNxN &m, const ArrayView &vm, const VecN &n, const ArrayView &vn) |
const VecN & | operator+= (const VecN &m) |
const VecN & | operator*= (const doublereal &d) |
doublereal & | operator() (integer i) |
const doublereal & | operator() (integer i) const |
Protected Member Functions | |
void | Create_ (integer ns) |
void | Destroy_ (void) |
Protected Attributes | |
integer | iMaxRows |
integer | iNumRows |
doublereal * | pdVec |
Private Member Functions | |
const VecN & | operator= (const VecN &) |
Friends | |
class | Mat3xN |
class | MatNx3 |
class | MatNxN |
Definition at line 76 of file matvec3n.h.
VecN::VecN | ( | void | ) |
VecN::VecN | ( | integer | ns | ) |
Definition at line 72 of file matvec3n.cc.
References Create_().
VecN::VecN | ( | integer | ns, |
const doublereal & | d | ||
) |
Definition at line 82 of file matvec3n.cc.
References Create_(), and Reset().
VecN::VecN | ( | const VecN & | v | ) |
Definition at line 89 of file matvec3n.cc.
References Create_(), iNumRows, and pdVec.
VecN::VecN | ( | const VectorHandler & | vh, |
integer | ns, | ||
integer | iFirstIndex | ||
) |
Definition at line 104 of file matvec3n.cc.
References ASSERT, Create_(), VectorHandler::iGetSize(), and pdVec.
VecN::~VecN | ( | void | ) |
Definition at line 127 of file matvec3n.cc.
References Destroy_().
|
inline |
const VecN & VecN::Copy | ( | const VectorHandler & | vh, |
integer | iFirstIndex = 1 |
||
) |
Definition at line 116 of file matvec3n.cc.
References ASSERT, VectorHandler::iGetSize(), iNumRows, and pdVec.
Referenced by Modal::AssRes().
|
protected |
Definition at line 47 of file matvec3n.cc.
References ASSERT, Destroy_(), pdVec, and SAFENEWARR.
Referenced by Resize(), and VecN().
|
protected |
Definition at line 57 of file matvec3n.cc.
References pdVec, and SAFEDELETEARR.
Referenced by Create_(), Resize(), and ~VecN().
|
inline |
Definition at line 188 of file matvec3n.h.
References ASSERT, iNumRows, and pdVec.
Referenced by Modal::AssJac().
|
inline |
Definition at line 192 of file matvec3n.cc.
References ASSERT, iNumRows, MatNxN::iNumRows, MatNxN::pdMat, and pdVec.
Referenced by Modal::AssRes().
const VecN & VecN::Mult | ( | const MatNxN & | m, |
const ArrayView & | vm, | ||
const VecN & | n, | ||
const ArrayView & | vn | ||
) |
Definition at line 211 of file matvec3n.cc.
References ASSERT, iNumRows, MatNxN::iNumRows, ArrayView::Last(), ArrayView::Number(), ArrayView::Offset(), MatNxN::pdMat, pdVec, and ArrayView::Start().
|
inline |
|
inline |
const VecN & VecN::operator*= | ( | const doublereal & | d | ) |
|
inline |
Definition at line 125 of file matvec3n.h.
References pdVec.
Referenced by ModuleNonsmoothNode::mbs_get_force().
|
inline |
Definition at line 129 of file matvec3n.h.
References pdVec.
|
inline |
Definition at line 159 of file matvec3n.h.
References ASSERT, iNumRows, and pdVec.
Referenced by PiezoActuatorBeam::AfterPredict(), PiezoActuatorBeam2::AfterPredict(), PiezoActuatorVEBeam2::AfterPredict(), PiezoActuatorVEBeam::AfterPredict(), PiezoActuatorBeam::AssStiffnessVec(), PiezoActuatorBeam2::AssStiffnessVec(), PiezoActuatorVEBeam2::AssStiffnessVec(), PiezoActuatorVEBeam::AssStiffnessVec(), Modal::InitialAssRes(), and ReadModal().
void VecN::Reset | ( | const doublereal | d = 0. | ) |
void VecN::Resize | ( | integer | ns | ) |
Definition at line 133 of file matvec3n.cc.
References ASSERT, Create_(), Destroy_(), iMaxRows, iNumRows, and pdVec.
Definition at line 157 of file matvec3n.cc.
References iNumRows, MatNx3::pdCols, pdVec, Vec3::pdVec, V1, V2, and V3.
|
inline |
|
friend |
Definition at line 77 of file matvec3n.h.
|
friend |
Definition at line 78 of file matvec3n.h.
|
friend |
Definition at line 79 of file matvec3n.h.
|
protected |
Definition at line 87 of file matvec3n.h.
Referenced by Resize().
|
protected |
Definition at line 88 of file matvec3n.h.
Referenced by Add(), Copy(), dGet(), iGetNumRows(), Mult(), Mat3xN::Mult(), operator()(), Mat3xN::operator*(), operator*=(), operator+=(), Put(), Reset(), Resize(), RightMult(), Sub(), and VecN().
|
protected |
Definition at line 89 of file matvec3n.h.
Referenced by Add(), Copy(), Create_(), Destroy_(), dGet(), Mult(), Mat3xN::Mult(), operator()(), Mat3xN::operator*(), operator*=(), operator+=(), pGetVec(), Put(), Reset(), Resize(), RightMult(), Sub(), and VecN().