|
| HypreParMatrix (hypre_ParCSRMatrix *a) |
| Converts hypre's format to HypreParMatrix. More...
|
|
| HypreParMatrix (MPI_Comm comm, int glob_size, int *row_starts, SparseMatrix *diag) |
| Creates block-diagonal square parallel matrix. Diagonal given by diag. More...
|
|
| HypreParMatrix (MPI_Comm comm, int global_num_rows, int global_num_cols, int *row_starts, int *col_starts, SparseMatrix *diag) |
|
| HypreParMatrix (MPI_Comm comm, int global_num_rows, int global_num_cols, int *row_starts, int *col_starts, SparseMatrix *diag, SparseMatrix *offd, int *cmap) |
| Creates general (rectangular) parallel matrix. More...
|
|
| HypreParMatrix (MPI_Comm comm, int *row_starts, int *col_starts, SparseMatrix *a) |
| Creates a parallel matrix from SparseMatrix on processor 0. More...
|
|
| HypreParMatrix (MPI_Comm comm, int global_num_rows, int global_num_cols, int *row_starts, int *col_starts, Table *diag) |
| Creates boolean block-diagonal rectangular parallel matrix. More...
|
|
| HypreParMatrix (MPI_Comm comm, int id, int np, int *row, int *col, int *i_diag, int *j_diag, int *i_offd, int *j_offd, int *cmap, int cmap_size) |
| Creates boolean rectangular parallel matrix (which owns its data) More...
|
|
| HypreParMatrix (MPI_Comm comm, int nrows, int glob_nrows, int glob_ncols, int *I, int *J, double *data, int *rows, int *cols) |
|
void | SetCommPkg (hypre_ParCSRCommPkg *comm_pkg) |
|
void | CheckCommPkg () |
|
void | DestroyCommPkg () |
|
MPI_Comm | GetComm () |
| MPI communicator. More...
|
|
| operator hypre_ParCSRMatrix * () |
| Typecasting to hypre's hypre_ParCSRMatrix*. More...
|
|
| operator HYPRE_ParCSRMatrix () |
| Typecasting to hypre's HYPRE_ParCSRMatrix, a.k.a. void *. More...
|
|
hypre_ParCSRMatrix * | StealData () |
| Changes the ownership of the the matrix. More...
|
|
int | NNZ () |
| Returns the number of nonzeros. More...
|
|
int * | RowPart () |
| Returns the row partitioning. More...
|
|
int * | ColPart () |
| Returns the column partitioning. More...
|
|
int | M () |
| Returns the global number of rows. More...
|
|
int | N () |
| Returns the global number of columns. More...
|
|
void | GetDiag (Vector &diag) |
| Get the diagonal of the matrix. More...
|
|
HypreParMatrix * | Transpose () |
| Returns the transpose of *this. More...
|
|
int | GetNumRows () const |
| Returns the number of rows in the diagonal block of the ParCSRMatrix. More...
|
|
int | GetNumCols () const |
| Returns the number of columns in the diagonal block of the ParCSRMatrix. More...
|
|
int | GetGlobalNumRows () const |
|
int | GetGlobalNumCols () const |
|
int * | GetRowStarts () const |
|
int * | GetColStarts () const |
|
int | Mult (HypreParVector &x, HypreParVector &y, double alpha=1.0, double beta=0.0) |
| Computes y = alpha * A * x + beta * y. More...
|
|
int | Mult (HYPRE_ParVector x, HYPRE_ParVector y, double alpha=1.0, double beta=0.0) |
| Computes y = alpha * A * x + beta * y. More...
|
|
int | MultTranspose (HypreParVector &x, HypreParVector &y, double alpha=1.0, double beta=0.0) |
| Computes y = alpha * A^t * x + beta * y. More...
|
|
void | Mult (double a, const Vector &x, double b, Vector &y) const |
|
void | MultTranspose (double a, const Vector &x, double b, Vector &y) const |
|
virtual void | Mult (const Vector &x, Vector &y) const |
| Operator application. More...
|
|
virtual void | MultTranspose (const Vector &x, Vector &y) const |
| Action of the transpose operator. More...
|
|
void | ScaleRows (const Vector &s) |
| Scale the local row i by s(i). More...
|
|
void | InvScaleRows (const Vector &s) |
| Scale the local row i by 1./s(i) More...
|
|
void | operator*= (double s) |
| Scale all entries by s: A_scaled = s*A. More...
|
|
void | Print (const char *fname, int offi=0, int offj=0) |
| Prints the locally owned rows in parallel. More...
|
|
void | Read (MPI_Comm comm, const char *fname) |
| Reads the matrix from a file. More...
|
|
virtual | ~HypreParMatrix () |
| Calls hypre's destroy function. More...
|
|
| Operator (int s=0) |
| Construct a square Operator with given size s (default 0) More...
|
|
| Operator (int h, int w) |
|
int | Height () const |
| Get the height (size of output) of the Operator. Synonym with NumRows. More...
|
|
int | NumRows () const |
|
int | Width () const |
| Get the width (size of input) of the Operator. Synonym with NumCols. More...
|
|
int | NumCols () const |
|
virtual Operator & | GetGradient (const Vector &x) const |
| Evaluate the gradient operator at the point x. More...
|
|
void | PrintMatlab (std::ostream &out, int n=0, int m=0) |
| Prints operator with input size n and output size m in matlab format. More...
|
|
virtual | ~Operator () |
|
Wrapper for hypre's ParCSR matrix class.
Definition at line 103 of file hypre.hpp.