![]() |
Ice Sheet System Model
4.18
Code documentation
|
#include <PetscMat.h>
Public Member Functions | |
PetscMat () | |
PetscMat (int M, int N) | |
PetscMat (int M, int N, IssmDouble sparsity) | |
PetscMat (int m, int n, int M, int N, int *d_nnz, int *o_nnz) | |
PetscMat (IssmDouble *serial_mat, int M, int N, IssmDouble sparsity) | |
PetscMat (int M, int N, int connectivity, int numberofdofspernode) | |
~PetscMat () | |
void | AllocationInfo (void) |
void | Echo (void) |
void | Assemble (void) |
IssmDouble | Norm (NormMode norm_type) |
void | GetSize (int *pM, int *pN) |
void | GetLocalSize (int *pM, int *pN) |
void | MatMult (PetscVec *X, PetscVec *AX) |
PetscMat * | Duplicate (void) |
IssmDouble * | ToSerial (void) |
void | SetValues (int m, int *idxm, int n, int *idxn, IssmDouble *values, InsMode mode) |
void | Convert (MatrixType type) |
void | SetZero (void) |
Data Fields | |
Mat | matrix |
Definition at line 24 of file PetscMat.h.
PetscMat::PetscMat | ( | ) |
Definition at line 21 of file PetscMat.cpp.
PetscMat::PetscMat | ( | int | M, |
int | N | ||
) |
Definition at line 29 of file PetscMat.cpp.
PetscMat::PetscMat | ( | int | M, |
int | N, | ||
IssmDouble | sparsity | ||
) |
Definition at line 34 of file PetscMat.cpp.
PetscMat::PetscMat | ( | int | m, |
int | n, | ||
int | M, | ||
int | N, | ||
int * | d_nnz, | ||
int * | o_nnz | ||
) |
Definition at line 39 of file PetscMat.cpp.
PetscMat::PetscMat | ( | IssmDouble * | serial_mat, |
int | M, | ||
int | N, | ||
IssmDouble | sparsity | ||
) |
Definition at line 71 of file PetscMat.cpp.
PetscMat::PetscMat | ( | int | M, |
int | N, | ||
int | connectivity, | ||
int | numberofdofspernode | ||
) |
Definition at line 93 of file PetscMat.cpp.
PetscMat::~PetscMat | ( | ) |
Definition at line 99 of file PetscMat.cpp.
void PetscMat::AllocationInfo | ( | void | ) |
Definition at line 105 of file PetscMat.cpp.
void PetscMat::Echo | ( | void | ) |
Definition at line 119 of file PetscMat.cpp.
void PetscMat::Assemble | ( | void | ) |
IssmDouble PetscMat::Norm | ( | NormMode | norm_type | ) |
Definition at line 132 of file PetscMat.cpp.
void PetscMat::GetSize | ( | int * | pM, |
int * | pN | ||
) |
Definition at line 142 of file PetscMat.cpp.
void PetscMat::GetLocalSize | ( | int * | pM, |
int * | pN | ||
) |
Definition at line 148 of file PetscMat.cpp.
Definition at line 155 of file PetscMat.cpp.
PetscMat * PetscMat::Duplicate | ( | void | ) |
IssmDouble * PetscMat::ToSerial | ( | void | ) |
Definition at line 173 of file PetscMat.cpp.
void PetscMat::SetValues | ( | int | m, |
int * | idxm, | ||
int | n, | ||
int * | idxn, | ||
IssmDouble * | values, | ||
InsMode | mode | ||
) |
Definition at line 182 of file PetscMat.cpp.
void PetscMat::Convert | ( | MatrixType | type | ) |
Definition at line 189 of file PetscMat.cpp.
void PetscMat::SetZero | ( | void | ) |
Definition at line 195 of file PetscMat.cpp.
Mat PetscMat::matrix |
Definition at line 27 of file PetscMat.h.