|
AGX Dynamics 2.42.3.0
|
6x6 matrix class with blockwise interface to get or set 3x3 matrices: [ M(0, 0) M(0, 1) ] [ M(1, 0) M(1, 1) ] More...
#include <AddedMassInteraction.h>
Public Member Functions | |
| Matrix6x6 () | |
| Default constructor, sets all elements to 0. | |
| Matrix6x6 (const Matrix6x6 &other) | |
| Copy constructor. | |
| agx::Real & | at (size_t i, size_t j) |
| const agx::Real & | at (size_t i, size_t j) const |
| agx::Matrix3x3 | block (size_t i, size_t j) const |
| void | block (size_t i, size_t j, const agx::Matrix3x3 &matrix) |
| void | multiply (const agx::Vec3 v1, const agx::Vec3 v2, agx::Real *result) const |
| Performs result += M * [v1] [v2]. | |
| agx::Real & | operator() (size_t i, size_t j) |
| agx::Real | operator() (size_t i, size_t j) const |
| Matrix6x6 & | operator= (const Matrix6x6 &other) |
| Assignment operator. | |
| agx::Real * | operator[] (size_t i) |
| const agx::Real * | operator[] (size_t i) const |
| void | reset () |
| Resets all values to zero. | |
| void | restore (agxStream::InputArchive &in) |
| Internal. | |
| void | set (size_t i, size_t j, agx::Real value) |
| void | store (agxStream::OutputArchive &out) const |
| Internal. | |
| Matrix6x6 | transform (const agx::Matrix3x3 &left, const agx::Matrix3x3 &right) const |
| Returns a transformed version of this matrix: [ left M(0, 0) right left M(0, 1) right ] [ left M(1, 0) right left M(1, 1) right ]. | |
| Matrix6x6 | transposed () const |
6x6 matrix class with blockwise interface to get or set 3x3 matrices: [ M(0, 0) M(0, 1) ] [ M(1, 0) M(1, 1) ]
Definition at line 47 of file AddedMassInteraction.h.
| agx::AddedMassInteraction::Matrix6x6::Matrix6x6 | ( | ) |
Default constructor, sets all elements to 0.
| agx::AddedMassInteraction::Matrix6x6::Matrix6x6 | ( | const Matrix6x6 & | other | ) |
Copy constructor.
| Real & agx::AddedMassInteraction::Matrix6x6::at | ( | size_t | i, |
| size_t | j | ||
| ) |
| i | - row to access |
| j | - column to access |
Definition at line 415 of file AddedMassInteraction.h.
References agxAssert.
| const Real & agx::AddedMassInteraction::Matrix6x6::at | ( | size_t | i, |
| size_t | j | ||
| ) | const |
| i | - row to access |
| j | - column to access |
Definition at line 401 of file AddedMassInteraction.h.
References agxAssert.
| agx::Matrix3x3 agx::AddedMassInteraction::Matrix6x6::block | ( | size_t | i, |
| size_t | j | ||
| ) | const |
| i | - block row index |
| j | - block column index |
| void agx::AddedMassInteraction::Matrix6x6::block | ( | size_t | i, |
| size_t | j, | ||
| const agx::Matrix3x3 & | matrix | ||
| ) |
| i | - block row index |
| j | - block column index |
| void agx::AddedMassInteraction::Matrix6x6::multiply | ( | const agx::Vec3 | v1, |
| const agx::Vec3 | v2, | ||
| agx::Real * | result | ||
| ) | const |
Performs result += M * [v1] [v2].
| Real & agx::AddedMassInteraction::Matrix6x6::operator() | ( | size_t | i, |
| size_t | j | ||
| ) |
| i | - row to access |
| j | - column to access |
Definition at line 395 of file AddedMassInteraction.h.
References agxAssert.
| Real agx::AddedMassInteraction::Matrix6x6::operator() | ( | size_t | i, |
| size_t | j | ||
| ) | const |
| i | - row to access |
| j | - column to access |
Definition at line 389 of file AddedMassInteraction.h.
References agxAssert.
Assignment operator.
| Real * agx::AddedMassInteraction::Matrix6x6::operator[] | ( | size_t | i | ) |
| i | - row to access |
Definition at line 383 of file AddedMassInteraction.h.
References agxAssert.
| const Real * agx::AddedMassInteraction::Matrix6x6::operator[] | ( | size_t | i | ) | const |
| i | - row to access |
Definition at line 377 of file AddedMassInteraction.h.
References agxAssert.
| void agx::AddedMassInteraction::Matrix6x6::reset | ( | ) |
Resets all values to zero.
| void agx::AddedMassInteraction::Matrix6x6::restore | ( | agxStream::InputArchive & | in | ) |
Internal.
Restore this object.
| void agx::AddedMassInteraction::Matrix6x6::set | ( | size_t | i, |
| size_t | j, | ||
| agx::Real | value | ||
| ) |
| i | - row to access |
| j | - column to access |
| value | - The new value for i,j |
Definition at line 407 of file AddedMassInteraction.h.
References agxAssert.
| void agx::AddedMassInteraction::Matrix6x6::store | ( | agxStream::OutputArchive & | out | ) | const |
Internal.
Store this object.
| Matrix6x6 agx::AddedMassInteraction::Matrix6x6::transform | ( | const agx::Matrix3x3 & | left, |
| const agx::Matrix3x3 & | right | ||
| ) | const |
Returns a transformed version of this matrix: [ left M(0, 0) right left M(0, 1) right ] [ left M(1, 0) right left M(1, 1) right ].
| left | - 3x3 matrix to multiply each block from the left |
| right | - 3x3 matrix to multiply each block from the right |
| Matrix6x6 agx::AddedMassInteraction::Matrix6x6::transposed | ( | ) | const |