![]() |
XC Open source finite element analysis program
|
Matrix that can move between processes. More...
#include <MovableMatrix.h>
Public Member Functions | |
| MovableMatrix (const size_t &nr=0, const size_t &nc=0) | |
| Constructor. | |
| MovableMatrix (const Matrix &m) | |
| Constructor. | |
| void | setMatrix (const Matrix &) |
| Asigna el matrix. | |
| virtual int | sendSelf (CommParameters &) |
| Envia la matriz through the channel being passed as parameter. | |
| virtual int | recvSelf (const CommParameters &) |
Public Member Functions inherited from XC::Matrix | |
| Matrix (void) | |
| Constructor. | |
| Matrix (int nrows, int ncols) | |
| Constructor. | |
| Matrix (double *data, int nrows, int ncols) | |
| Matrix (const boost::python::list &l) | |
| Constructor (interfaz Python). | |
| int | setData (double *newData, int nRows, int nCols) |
| const double * | getDataPtr (void) const |
| double * | getDataPtr (void) |
| bool | Nula (void) const |
| int | getDataSize (void) const |
| int | getNumBytes (void) const |
| int | noRows () const |
| int | noCols () const |
| void | Zero (void) |
| void | Identity (void) |
| int | resize (int numRow, int numCol) |
| int | Assemble (const Matrix &, const ID &rows, const ID &cols, double fact=1.0) |
| int | Solve (const Vector &V, Vector &res) const |
| int | Solve (const Matrix &M, Matrix &res) const |
| int | Invert (Matrix &res) const |
| double | rowSum (int i) const |
| Returns the sum of the i-th row. | |
| double | columnSum (int j) const |
| Returns the sum of the j-th row. | |
| double | rowNorm (void) const |
| Returns the maximum value of the elements of the vector that results that contains the row sums. | |
| double | columnNorm (void) const |
| Returns the maximum value of the elements of the vector that results that contains the column sums. | |
| double | Norm2 (void) const |
| Returns the squared modulus (euclidean norm) of the matrix. | |
| double | Norm (void) const |
| Returns the modulus (euclidean norm) of the matrix. | |
| int | addMatrix (double factThis, const Matrix &other, double factOther) |
| int | addMatrixProduct (double factThis, const Matrix &A, const Matrix &B, double factOther) |
| int | addMatrixTripleProduct (double factThis, const Matrix &A, const Matrix &B, double factOther) |
| double & | operator() (int row, int col) |
| const double & | operator() (int row, int col) const |
| Matrix | operator() (const ID &rows, const ID &cols) const |
| Vector | getRow (int row) const |
| Return the fila which index being passed as parameter. | |
| Vector | getCol (int col) const |
| Return the columna which index being passed as parameter. | |
| template<class TNSR > | |
| Matrix & | operator= (const TNSR &) |
| bool | isRow (void) const |
| bool | isColumn (void) const |
| Matrix & | operator+= (double fact) |
| Matrix & | operator-= (double fact) |
| Matrix & | operator*= (double fact) |
| Matrix & | operator/= (double fact) |
| Matrix | operator+ (double fact) const |
| Matrix | operator- (double fact) const |
| Matrix | operator* (double fact) const |
| Matrix | operator/ (double fact) const |
| Vector | operator* (const Vector &V) const |
| Vector | operator^ (const Vector &V) const |
| Matrix | operator+ (const Matrix &M) const |
| Matrix | operator- (const Matrix &M) const |
| Matrix | operator* (const Matrix &M) const |
| Matrix | operator^ (const Matrix &M) const |
| Matrix & | operator+= (const Matrix &M) |
| Matrix & | operator-= (const Matrix &M) |
| Matrix | getTrn (void) const |
| Return the transpuesta. | |
| void | Output (std::ostream &s) const |
| Output method. | |
| void | Input (const std::string &) |
| Lectura desde cadena de caracteres. | |
| void | write (std::ofstream &) |
| Escribe la matriz en un archivo binario. | |
| void | read (std::ifstream &) |
| Lee la matriz de un archivo binario. | |
| int | Assemble (const Matrix &V, int init_row, int init_col, double fact=1.0) |
| Assemble. | |
| int | AssembleTranspose (const Matrix &V, int init_row, int init_col, double fact=1.0) |
| int | Extract (const Matrix &V, int init_row, int init_col, double fact=1.0) |
| std::string | toString (void) const |
| template<class TNSR > | |
| XC::Matrix & | operator= (const TNSR &V) |
Public Member Functions inherited from XC::MovableObject | |
| MovableObject (int classTag, int dbTag) | |
| Constructor. | |
| MovableObject (int classTag) | |
| Constructor. | |
| MovableObject (const MovableObject &otro) | |
| Copy constructor. | |
| MovableObject & | operator= (const MovableObject &otro) |
| Operacdor asignación. | |
| int | getClassTag (void) const |
| Returns the tag de la clase. | |
| int | getDbTag (void) const |
| Returns the tag para la database. | |
| int | getDbTag (CommParameters &) |
| Returns the tag para la database. | |
| void | setDbTag (int dbTag) |
| Asigna el tag para la database. | |
| void | setDbTag (CommParameters &) |
| Asigna, sólo si es preciso, el tag para la database. | |
| virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
| virtual int | updateParameter (int parameterID, Information &info) |
| virtual int | activateParameter (int parameterID) |
| virtual int | setVariable (const std::string &variable, Information &) |
| Returns the identificador de la variable cuyo nombre being passed as parameter. | |
| virtual int | getVariable (const std::string &variable, Information &) |
Public Member Functions inherited from XC::DistributedBase | |
| DistributedBase (void) | |
| Constructor. | |
| const int & | getDbTagDataPos (const int &i) const |
| Returns the data at the i-th position. | |
| void | setDbTagDataPos (const int &i, const int &v) |
| Sets the data at the i-th position. | |
| void | inicComm (const int &dataSize) const |
| Initializes communication. | |
Protected Member Functions | |
| DbTagData & | getDbTagData (void) const |
| Returns a vector para almacenar los dbTags de los miembros de la clase. | |
Matrix that can move between processes.
1.8.11