#include "ml_common.h"
#include "mpi.h"
#include "ml_include.h"
#include <iostream>
Include dependency graph for ml_epetra_utils.h:
This graph shows which files directly or indirectly include this file:
Namespaces | |
| namespace | Teuchos |
Functions | |
| int | ML_Epetra_matvec (ML_Operator *data, int in, double *p, int out, double *ap) |
| Matrix-vector function for Epetra matrices. | |
| int | ML_Epetra_RowMatrix_matvec (ML_Operator *data, int in, double *p, int out, double *ap) |
| int | ML_Epetra_CrsMatrix_matvec (ML_Operator *data, int in, double *p, int out, double *ap) |
| int | ML_Epetra_VbrMatrix_matvec (ML_Operator *data, int in, double *p, int out, double *ap) |
| int | Epetra_ML_GetCrsDataptrs (ML_Operator *data, double **values, int **cols, int **rowptr) |
| int | ML_Epetra_getrow (ML_Operator *data, int N_requested_rows, int requested_rows[], int allocated_space, int columns[], double values[], int row_lengths[]) |
| Getrow function for matrix of type Epetra_RowMatrix. | |
| int | ML_Epetra_RowMatrix_getrow (ML_Operator *data, int N_requested_rows, int requested_rows[], int allocated_space, int columns[], double values[], int row_lengths[]) |
| int | ML_Epetra_CrsMatrix_getrow (ML_Operator *data, int N_requested_rows, int requested_rows[], int allocated_space, int columns[], double values[], int row_lengths[]) |
| int | ML_Epetra_VbrMatrix_getrow (ML_Operator *data, int N_requested_rows, int requested_rows[], int allocated_space, int columns[], double values[], int row_lengths[]) |
| void | ML_Set_Filter (Teuchos::ParameterList &List) |
| int | ML_Epetra_matvec_Filter (ML_Operator *data, int in, double *p, int out, double *ap) |
| int | ML_Epetra_getrow_Filter (ML_Operator *data, int N_requested_rows, int requested_rows[], int allocated_space, int columns[], double values[], int row_lengths[]) |
| int | ML_Epetra_comm_wrapper (double vec[], void *data) |
| Update vec's ghost node via communication. | |
| int | ML_Epetra_CrsMatrix_comm_wrapper (double vec[], void *data) |
| int | ML_Epetra_VbrMatrix_comm_wrapper (double vec[], void *data) |
| int | ML_Epetra_CrsGraph_comm_wrapper (double vec[], void *data) |
| int | ML_Epetra_CrsGraph_matvec (ML_Operator *data, int in, double *p, int out, double *ap) |
| int | ML_Epetra_CrsGraph_getrow (ML_Operator *data, int N_requested_rows, int requested_rows[], int allocated_space, int columns[], double values[], int row_lengths[]) |
| int | ML_Operator_WrapEpetraCrsGraph (Epetra_CrsGraph *Graph, ML_Operator *newMatrix) |
| int | EpetraMatrix2MLMatrix (ML *ml_handle, int level, Epetra_RowMatrix *Amat) |
| Wraps an Epetra_RowMatrix into an ML_Operators. | |
| int | ML_Operator_WrapEpetraMatrix (Epetra_RowMatrix *A, ML_Operator *Result) |
| Wraps an Epetra_RowMatrix into an ML_Operators, for the given level. | |
| Epetra_CrsMatrix * | Epetra_MatrixMult (Epetra_RowMatrix *B, Epetra_RowMatrix *Bt) |
| Multiplies two Epetra_RowMatrix's, returns the results as an Epetra_CrsMatrix. | |
| Epetra_CrsMatrix * | Epetra_MatrixAdd (Epetra_RowMatrix *B, Epetra_RowMatrix *Bt, double scalar) |
| Adds two Epetra_RowMatrix's, returns the result as an Epetra_CrsMatrix. | |
| int | ML_Epetra_CRSinsert (ML_Operator *, int, int *, double *, int) |
| int | ML_Operator2EpetraCrsMatrix (ML_Operator *Ke, Epetra_CrsMatrix *&CrsMatrix, int &MaxNumNonzeros, bool CheckNonzeroRow, double &) |
| Converts an ML_Operator into an Epetra_CrsMatrix. | |
| int | ML_Operator2EpetraCrsMatrix (ML_Operator *Ke, Epetra_CrsMatrix *&CrsMatrix) |
| Epetra_Map * | Epetra_ML_readupdatevector (char *filename, Epetra_Comm &comm) |
| Epetra_CrsMatrix * | Epetra_ML_readaztecmatrix (char *filename, Epetra_Map &map, Epetra_Comm &comm) |
| int | ML_Operator_Destroy_DiscreteLaplacian () |
| int | ML_Operator_DiscreteLaplacian (ML_Operator *Op, int SymmetricPattern, double *x_coord, double *y_coord, double *z_coord, double theta, ML_Operator **NewOp) |
| bool | Epetra_ML_readaztecvector (char *filename, Epetra_MultiVector &Vector, Epetra_Map &map, Epetra_Comm &comm, int ivec) |
| bool | Epetra_ML_readvariableblocks (char *filename, Epetra_Map &map, Epetra_Comm &comm, int **blocks, int **block_pde) |
| bool | Epetra_ML_writegidviz (char *filename, int label, Epetra_MultiVector &vector, int ivec, Epetra_Map &map, Epetra_Comm &comm) |
|
||||||||||||||||
|
Wraps an Epetra_RowMatrix into an ML_Operators. This function creates an ML_Operator that is based on the input Epetra_RowMatrix. This is a "cheap" wrap in the sense that only function and pointers are created. Data is still coded as an Epetra_RowMatrix.
|
|
||||||||||||
|
Update vec's ghost node via communication.
Update vec's ghost node via communication. Note: the length of vec is given by N_local + N_ghost where Amat was created via
|
|
||||||||||||||||||||||||||||||||
|
Getrow function for matrix of type Epetra_RowMatrix. Supply local matrix (without ghost node columns) for rows given by requested_rows[0 ... N_requested_rows-1]. Return this information in 'row_lengths, columns, values'. If there is not enough space to complete this operation, return 0. Otherwise, return 1.
|
|
||||||||||||||||||||||||
|
Matrix-vector function for Epetra matrices. This is the ML matrix-vector wrap for Epetra matrices. |
|
||||||||||||||||||||||||
|
Converts an ML_Operator into an Epetra_CrsMatrix. This function creates a new Epetra_CrsMatrix, and inserts all the nonzero elements of the ML_Operator in it. This is an expensive conversion, in the sense that the Epetra_RowMatrix is a copy of the input ML_Operator.
|
|
||||||||||||
|
Wraps an Epetra_RowMatrix into an ML_Operators, for the given level. This function creates an ML_Operator that is based on the input Epetra_RowMatrix. This is a "cheap" wrap in the sense that only function and pointers are created. Data is still coded as an Epetra_RowMatrix. The ML_Operator is set in the specified level of the hierarchy.
|
1.3.9.1