 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file.
5 #ifndef _PETSC_PATCHES_H_
6 #define _PETSC_PATCHES_H_
14 #include "../../toolkitsenums.h"
15 #include "../../../shared/io/Comm/IssmComm.h"
29 int MatPartition(Mat* poutmatrix,Mat matrixA,
double* row_partition_vector,
int row_partition_vector_size ,
30 double* col_partition_vector,
int col_partition_vector_size);
Declaration of Parameters class.
prototypes for SolverEnum.h
Vec SerialToVec(double *vector, int vector_size)
void MatToSerial(double **poutmatrix, Mat matrix, ISSM_MPI_Comm comm)
int MatPartition(Mat *poutmatrix, Mat matrixA, double *row_partition_vector, int row_partition_vector_size, double *col_partition_vector, int col_partition_vector_size)
NormType ISSMToPetscNormMode(NormMode mode)
void PetscOptionsDetermineSolverType(int *psolver_type)
int VecToMPISerial(double **pgathered_vector, Vec vector, ISSM_MPI_Comm comm, bool broadcast=true)
MatType ISSMToPetscMatrixType(MatrixType type)
void MatMultPatch(Mat A, Vec X, Vec AX, ISSM_MPI_Comm comm)
Vec NewVec(int size, ISSM_MPI_Comm comm, bool fromlocalsize=false)
Mat NewMat(int M, int N, ISSM_MPI_Comm comm)
InsertMode ISSMToPetscInsertMode(InsMode mode)