MFEM v4.7.0
Finite element discretization library
|
Go to the source code of this file.
Namespaces | |
namespace | mfem |
Functions | |
void | mfem::SparseMatrixFunction (SparseMatrix &S, real_t(*f)(real_t)) |
Applies f() to each element of the matrix (after it is finalized). | |
SparseMatrix * | mfem::Transpose (const SparseMatrix &A) |
Transpose of a sparse matrix. A must be finalized. | |
SparseMatrix * | mfem::TransposeAbstractSparseMatrix (const AbstractSparseMatrix &A, int useActualWidth) |
Transpose of a sparse matrix. A does not need to be a CSR matrix. | |
SparseMatrix * | mfem::Mult (const SparseMatrix &A, const SparseMatrix &B, SparseMatrix *OAB=NULL) |
Matrix product A.B. | |
SparseMatrix * | mfem::TransposeMult (const SparseMatrix &A, const SparseMatrix &B) |
C = A^T B. | |
SparseMatrix * | mfem::MultAbstractSparseMatrix (const AbstractSparseMatrix &A, const AbstractSparseMatrix &B) |
Matrix product of sparse matrices. A and B do not need to be CSR matrices. | |
DenseMatrix * | mfem::Mult (const SparseMatrix &A, DenseMatrix &B) |
Matrix product A.B. | |
DenseMatrix * | mfem::RAP (const SparseMatrix &A, DenseMatrix &P) |
RAP matrix product (with R=P^T) | |
DenseMatrix * | mfem::RAP (DenseMatrix &A, const SparseMatrix &P) |
RAP matrix product (with R=P^T) | |
SparseMatrix * | mfem::RAP (const SparseMatrix &A, const SparseMatrix &R, SparseMatrix *ORAP) |
SparseMatrix * | mfem::RAP (const SparseMatrix &Rt, const SparseMatrix &A, const SparseMatrix &P) |
General RAP with given R^T, A and P. | |
SparseMatrix * | mfem::Mult_AtDA (const SparseMatrix &A, const Vector &D, SparseMatrix *OAtDA=NULL) |
Matrix multiplication A^t D A. All matrices must be finalized. | |
SparseMatrix * | mfem::Add (real_t a, const SparseMatrix &A, real_t b, const SparseMatrix &B) |
Matrix addition result = a*A + b*B. | |
SparseMatrix * | mfem::Add (const SparseMatrix &A, const SparseMatrix &B) |
Matrix addition result = A + B. | |
SparseMatrix * | mfem::Add (Array< SparseMatrix * > &Ai) |
Matrix addition result = sum_i A_i. | |
void | mfem::Add (const SparseMatrix &A, real_t alpha, DenseMatrix &B) |
B += alpha * A. | |
DenseMatrix * | mfem::OuterProduct (const DenseMatrix &A, const DenseMatrix &B) |
Produces a block matrix with blocks A_{ij}*B. | |
SparseMatrix * | mfem::OuterProduct (const DenseMatrix &A, const SparseMatrix &B) |
Produces a block matrix with blocks A_{ij}*B. | |
SparseMatrix * | mfem::OuterProduct (const SparseMatrix &A, const DenseMatrix &B) |
Produces a block matrix with blocks A_{ij}*B. | |
SparseMatrix * | mfem::OuterProduct (const SparseMatrix &A, const SparseMatrix &B) |
Produces a block matrix with blocks A_{ij}*B. | |