MBDyn-1.7.3
|
#include <JacSubMatrix.h>
Classes | |
struct | ExpandableColBlock |
Public Member Functions | |
ExpandableMatrix (void) | |
ExpandableMatrix (const integer n, const integer m) | |
virtual | ~ExpandableMatrix (void) |
void | ReDim (const integer n, const integer m) |
void | SetBlockDim (const integer block, const integer ncols) |
void | Zero (void) |
integer | GetNRows () const |
integer | GetNBlocks () const |
integer | GetBlockNCols (const integer block) const |
void | Reset (void) |
void | Link (const integer block, const ExpandableMatrix *const xp) |
void | Link (const integer block, const ExpandableRowVector *const xp) |
void | SetBlockIdx (integer block, integer iidx) |
void | Set (doublereal xx, integer eq, integer block, integer block_col=1) |
void | Set (Vec3 xx, integer eq, integer block, integer block_col=1) |
void | Set (Mat3x3 xx, integer eq, integer block, integer block_col=1) |
void | Add (doublereal xx, integer eq, integer block, integer block_col=1) |
void | Sub (doublereal xx, integer eq, integer block, integer block_col=1) |
void | Add (Vec3 xx, integer eq, integer block, integer block_col=1) |
void | Sub (Vec3 xx, integer eq, integer block, integer block_col=1) |
void | Add (Mat3x3 xx, integer eq, integer block, integer block_col=1) |
void | Sub (Mat3x3 xx, integer eq, integer block, integer block_col=1) |
void | Add (FullSubMatrixHandler &WM, const integer eq, const doublereal c=1.) const |
void | Sub (FullSubMatrixHandler &WM, const integer eq, const doublereal c=1.) const |
std::ostream & | Write (std::ostream &out, const char *sFill="") const |
Private Member Functions | |
ExpandableMatrix & | operator= (const ExpandableMatrix &) |
ExpandableMatrix (const ExpandableMatrix &) | |
Private Attributes | |
std::vector< ExpandableColBlock > | v |
Definition at line 87 of file JacSubMatrix.h.
|
private |
ExpandableMatrix::ExpandableMatrix | ( | void | ) |
Definition at line 282 of file JacSubMatrix.cc.
Definition at line 283 of file JacSubMatrix.cc.
References ReDim().
|
virtual |
Definition at line 286 of file JacSubMatrix.cc.
void ExpandableMatrix::Add | ( | doublereal | xx, |
integer | eq, | ||
integer | block, | ||
integer | block_col = 1 |
||
) |
Definition at line 405 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetBlockNCols(), GetNBlocks(), GetNRows(), and v.
Referenced by Add(), and PlaneHingeJoint::AssJac().
Definition at line 423 of file JacSubMatrix.cc.
References Add().
Definition at line 428 of file JacSubMatrix.cc.
References Add().
void ExpandableMatrix::Add | ( | FullSubMatrixHandler & | WM, |
const integer | eq, | ||
const doublereal | c = 1. |
||
) | const |
Definition at line 475 of file JacSubMatrix.cc.
References GetNBlocks(), and v.
Definition at line 325 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, and v.
Referenced by Add(), Link(), Set(), and Sub().
integer ExpandableMatrix::GetNBlocks | ( | ) | const |
Definition at line 322 of file JacSubMatrix.cc.
References v.
Referenced by Add(), ExpandableMatrix::ExpandableColBlock::Link(), Set(), SetBlockDim(), SetBlockIdx(), Sub(), and Write().
integer ExpandableMatrix::GetNRows | ( | ) | const |
void ExpandableMatrix::Link | ( | const integer | block, |
const ExpandableMatrix *const | xp | ||
) |
Definition at line 340 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetBlockNCols(), GetNRows(), and v.
Referenced by PlaneHingeJoint::AssJac().
void ExpandableMatrix::Link | ( | const integer | block, |
const ExpandableRowVector *const | xp | ||
) |
Definition at line 350 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetBlockNCols(), and v.
|
private |
Definition at line 287 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, and v.
Referenced by PlaneHingeJoint::AssJac(), and ExpandableMatrix().
void ExpandableMatrix::Reset | ( | void | ) |
void ExpandableMatrix::Set | ( | doublereal | xx, |
integer | eq, | ||
integer | block, | ||
integer | block_col = 1 |
||
) |
Definition at line 360 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetBlockNCols(), GetNBlocks(), GetNRows(), and v.
Referenced by PlaneHingeJoint::AssJac(), and Set().
Definition at line 369 of file JacSubMatrix.cc.
References Set().
Definition at line 374 of file JacSubMatrix.cc.
References Set().
Definition at line 296 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetNBlocks(), and v.
Referenced by PlaneHingeJoint::AssJac().
Definition at line 381 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetNBlocks(), and v.
void ExpandableMatrix::Sub | ( | doublereal | xx, |
integer | eq, | ||
integer | block, | ||
integer | block_col = 1 |
||
) |
Definition at line 414 of file JacSubMatrix.cc.
References ASSERTMSGBREAK, GetBlockNCols(), GetNBlocks(), GetNRows(), and v.
Referenced by PlaneHingeJoint::AssJac(), and Sub().
Definition at line 435 of file JacSubMatrix.cc.
References Sub().
Definition at line 440 of file JacSubMatrix.cc.
References Sub().
void ExpandableMatrix::Sub | ( | FullSubMatrixHandler & | WM, |
const integer | eq, | ||
const doublereal | c = 1. |
||
) | const |
Definition at line 508 of file JacSubMatrix.cc.
References GetNBlocks(), and v.
std::ostream & ExpandableMatrix::Write | ( | std::ostream & | out, |
const char * | sFill = "" |
||
) | const |
Definition at line 538 of file JacSubMatrix.cc.
References GetNBlocks(), and v.
Referenced by operator<<().
void ExpandableMatrix::Zero | ( | void | ) |
|
private |
Definition at line 89 of file JacSubMatrix.h.
Referenced by Add(), GetBlockNCols(), GetNBlocks(), GetNRows(), ExpandableMatrix::ExpandableColBlock::Link(), Link(), ReDim(), Reset(), Set(), SetBlockDim(), SetBlockIdx(), Sub(), Write(), and Zero().