MBDyn-1.7.3
|
#include <matvec3n.h>
Public Member Functions | |
Mat3xN (void) | |
Mat3xN (integer nc) | |
Mat3xN (integer nc, const doublereal &d) | |
~Mat3xN (void) | |
void | Resize (integer ns) |
void | Reset (const doublereal &d=0.) |
integer | iGetNumCols (void) const |
integer | iGetNumRows (void) const |
void | Put (int i, integer j, const doublereal &d) |
void | Add (int i, integer j, const doublereal &d) |
void | Sub (int i, integer j, const doublereal &d) |
const doublereal & | dGet (int i, integer j) const |
const Mat3xN & | LeftMult (const Mat3x3 &m) |
const Mat3xN & | LeftMult (const Mat3x3 &m, const Mat3xN &n) |
const Mat3xN & | Mult (const Mat3xN &m, const MatNxN &n) |
const Mat3xN & | Copy (const Mat3xN &m) |
const Mat3xN & | operator*= (const doublereal &d) |
const Mat3xN & | operator/= (const doublereal &d) |
const Mat3xN & | operator+= (const Mat3xN &m) |
const Mat3xN & | operator-= (const Mat3xN &m) |
Vec3 | operator* (const VecN &v) const |
Vec3 | Mult (const ArrayView &vm, const VecN &v) const |
Vec3 | Mult (const ArrayView &vm, const VecN &v, const ArrayView &vv) const |
Vec3 | GetVec (integer iCol) const |
void | PutVec (integer iCol, const Vec3 &v) |
void | AddVec (integer iCol, const Vec3 &v) |
void | SubVec (integer iCol, const Vec3 &v) |
Mat3x3 | GetMat3x3 (integer iFirstCol) const |
void | PutMat3x3 (integer iCol, const Mat3x3 &m) |
void | AddMat3x3 (integer iCol, const Mat3x3 &m) |
void | SubMat3x3 (integer iCol, const Mat3x3 &m) |
Mat3x3 | GetMat3x3ScalarMult (integer iFirstCol, const doublereal &d) const |
doublereal & | operator() (integer i, integer j) |
const doublereal & | operator() (integer i, integer j) const |
Protected Member Functions | |
void | Create_ (integer ns) |
void | Destroy_ (void) |
Protected Attributes | |
integer | iMaxCols |
integer | iNumCols |
doublereal * | pdRows [3] |
Private Member Functions | |
Mat3xN (const Mat3xN &) | |
const Mat3xN & | operator= (const Mat3xN &) |
Friends | |
class | MatNx3 |
class | MatNxN |
Definition at line 222 of file matvec3n.h.
|
private |
Mat3xN::Mat3xN | ( | void | ) |
Mat3xN::Mat3xN | ( | integer | nc | ) |
Mat3xN::Mat3xN | ( | integer | nc, |
const doublereal & | d | ||
) |
Mat3xN::~Mat3xN | ( | void | ) |
Definition at line 312 of file matvec3n.cc.
References Destroy_().
|
inline |
Definition at line 316 of file matvec3n.h.
References ASSERT, iNumCols, and pdRows.
Referenced by Modal::GetCurrFEMNodesPosition(), and Modal::GetCurrFEMNodesVelocity().
Definition at line 652 of file matvec3n.cc.
References ASSERT, iNumCols, M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pdMat, pdRows, V1, V2, and V3.
Referenced by ReadModal().
Definition at line 579 of file matvec3n.cc.
References ASSERT, iNumCols, pdRows, and Vec3::pdVec.
Referenced by Modal::AssRes(), and ReadModal().
Definition at line 407 of file matvec3n.cc.
References iNumCols, pdRows, and Resize().
Referenced by PiezoActuatorBeam::PiezoActuatorBeam(), PiezoActuatorBeam2::PiezoActuatorBeam2(), PiezoActuatorVEBeam::PiezoActuatorVEBeam(), PiezoActuatorVEBeam2::PiezoActuatorVEBeam2(), ReadBeam(), and ReadModal().
|
protected |
Definition at line 252 of file matvec3n.cc.
References ASSERT, Destroy_(), pdRows, and SAFENEWARR.
Referenced by Mat3xN(), and Resize().
|
protected |
Definition at line 264 of file matvec3n.cc.
References pdRows, and SAFEDELETEARR.
Referenced by Create_(), Resize(), and ~Mat3xN().
|
inline |
Definition at line 336 of file matvec3n.h.
References ASSERT, iNumCols, and pdRows.
Referenced by Modal::GetCurrFEMNodesPosition(), Modal::GetCurrFEMNodesVelocity(), Modal::InitialAssRes(), and ReadModal().
Definition at line 607 of file matvec3n.cc.
References ASSERT, iNumCols, and pdRows.
Referenced by Modal::AssJac(), and Modal::AssRes().
Mat3x3 Mat3xN::GetMat3x3ScalarMult | ( | integer | iFirstCol, |
const doublereal & | d | ||
) | const |
Definition at line 700 of file matvec3n.cc.
References ASSERT, iNumCols, and pdRows.
Referenced by Modal::AssJac(), and Modal::AssRes().
Definition at line 553 of file matvec3n.cc.
References ASSERT, iNumCols, and pdRows.
Referenced by AerodynamicBody::AssJac(), Modal::AssJac(), AerodynamicBeam::AssJac(), AerodynamicBeam2::AssJac(), ModalForce::AssRes(), Modal::AssRes(), Modal::dGetPrivData(), Modal::InitialAssJac(), and ReadModal().
|
inline |
Definition at line 298 of file matvec3n.h.
References iNumCols.
Referenced by FullMatrixHandler::Add(), FullMatrixHandler::AddT(), TheodorsenAeroData::AssJac(), grad::Mat3xNDirectExpr::bHaveReferenceTo(), MBDynParser::GetMat6xN(), grad::Mat3xNDirectExpr::iGetNumCols(), Mat3xN_test(), Mat3xN_test_grad(), Mat3xNT_test_grad(), grad::operator*(), FullMatrixHandler::Put(), FullMatrixHandler::PutT(), ReadModal(), FullMatrixHandler::Sub(), and FullMatrixHandler::SubT().
|
inline |
Definition at line 254 of file matvec3n.h.
Referenced by grad::Mat3xNDirectExpr::bHaveReferenceTo(), Mat3xN_test(), Mat3xN_test_grad(), Mat3xNT_test_grad(), and grad::operator*().
Definition at line 348 of file matvec3n.cc.
References iNumCols, M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pdMat, and pdRows.
Referenced by Modal::AssJac(), Modal::AssRes(), PiezoActuatorBeam::AssStiffnessMat(), PiezoActuatorBeam2::AssStiffnessMat(), PiezoActuatorVEBeam2::AssStiffnessMat(), PiezoActuatorVEBeam::AssStiffnessMat(), Modal::GetCurrFEMNodesPosition(), Modal::GetCurrFEMNodesVelocity(), Modal::InitialAssJac(), and ReadModal().
Definition at line 377 of file matvec3n.cc.
References iNumCols, M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pdMat, pdRows, and Resize().
Definition at line 506 of file matvec3n.cc.
References ASSERT, iNumCols, VecN::iNumRows, ArrayView::Last(), ArrayView::Number(), ArrayView::Offset(), pdRows, VecN::pdVec, and ArrayView::Start().
Definition at line 528 of file matvec3n.cc.
References ASSERT, iNumCols, VecN::iNumRows, ArrayView::Last(), ArrayView::Number(), ArrayView::Offset(), pdRows, VecN::pdVec, and ArrayView::Start().
|
inline |
|
inline |
Definition at line 488 of file matvec3n.cc.
References ASSERT, iNumCols, VecN::iNumRows, pdRows, and VecN::pdVec.
const Mat3xN & Mat3xN::operator*= | ( | const doublereal & | d | ) |
const Mat3xN & Mat3xN::operator/= | ( | const doublereal & | d | ) |
Definition at line 439 of file matvec3n.cc.
References iNumCols, MBDYN_EXCEPT_ARGS, and pdRows.
|
inline |
Definition at line 306 of file matvec3n.h.
References ASSERT, iNumCols, and pdRows.
Referenced by TheodorsenAeroData::AssJac(), MBDynParser::GetMat6xN(), Modal::InitialAssRes(), and ReadModal().
Definition at line 628 of file matvec3n.cc.
References ASSERT, iNumCols, M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pdMat, pdRows, V1, V2, and V3.
Referenced by AerodynamicBody::AssJac(), AerodynamicBeam::AssJac(), and AerodynamicBeam2::AssJac().
Definition at line 565 of file matvec3n.cc.
References ASSERT, iNumCols, pdRows, and Vec3::pdVec.
Referenced by Modal::AssJac(), Modal::AssRes(), Modal::InitialAssJac(), ModuleNonsmoothNode::mbs_get_force(), and ReadModal().
void Mat3xN::Reset | ( | const doublereal & | d = 0. | ) |
Definition at line 334 of file matvec3n.cc.
References iNumCols, and pdRows.
Referenced by Modal::AssRes(), MBDynParser::GetMat6xN(), and Mat3xN().
void Mat3xN::Resize | ( | integer | ns | ) |
Definition at line 318 of file matvec3n.cc.
References ASSERT, Create_(), Destroy_(), iMaxCols, and iNumCols.
Referenced by Copy(), LeftMult(), ReadBeam(), ReadBeam2(), and ReadHBeam().
|
inline |
Definition at line 676 of file matvec3n.cc.
References ASSERT, iNumCols, M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pdMat, pdRows, V1, V2, and V3.
Definition at line 593 of file matvec3n.cc.
References ASSERT, iNumCols, pdRows, and Vec3::pdVec.
Referenced by ReadModal().
|
friend |
Definition at line 224 of file matvec3n.h.
|
friend |
Definition at line 225 of file matvec3n.h.
|
protected |
Definition at line 234 of file matvec3n.h.
Referenced by Resize().
|
protected |
Definition at line 235 of file matvec3n.h.
Referenced by Add(), AddMat3x3(), AddVec(), Copy(), dGet(), GetMat3x3(), GetMat3x3ScalarMult(), GetVec(), iGetNumCols(), LeftMult(), Mat3xN(), Mult(), MatNxN::Mult(), operator()(), operator*(), operator*=(), operator+=(), operator-=(), operator/=(), Put(), PutMat3x3(), PutVec(), Reset(), Resize(), Sub(), SubMat3x3(), and SubVec().
|
protected |
Definition at line 236 of file matvec3n.h.
Referenced by Add(), AddMat3x3(), AddVec(), Copy(), Create_(), Destroy_(), dGet(), GetMat3x3(), GetMat3x3ScalarMult(), GetVec(), LeftMult(), Mat3xN(), Mult(), MatNxN::Mult(), operator()(), operator*(), operator*=(), operator+=(), operator-=(), operator/=(), Put(), PutMat3x3(), PutVec(), Reset(), Sub(), SubMat3x3(), SubVec(), and MatNx3::Transpose().