OGS
PETScMatrix.h File Reference
#include <petscmat.h>
#include <string>
#include <vector>
#include "MathLib/LinAlg/RowColumnIndices.h"
#include "MathLib/LinAlg/SparsityPattern.h"
#include "MathLib/LinAlg/SetMatrixSparsity.h"
Include dependency graph for PETScMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MathLib::PETScMatrix
 Wrapper class for PETSc matrix routines for matrix. More...
struct  MathLib::SetMatrixSparsity< PETScMatrix, SPARSITY_PATTERN >

Namespaces

namespace  MathLib

Typedefs

typedef Mat PETSc_Mat

Functions

bool MathLib::finalizeMatrixAssembly (PETScMatrix &mat, const MatAssemblyType asm_type=MAT_FINAL_ASSEMBLY)
 General interface for the matrix assembly.
void MathLib::setPreallocationNonzeroOption (PETScMatrix &matrix, bool const has_col_idx)
MatStructure MathLib::nonzeroPatternStructure (std::vector< PetscInt > const &col_a, std::vector< PetscInt > const &col_b)

Typedef Documentation

◆ PETSc_Mat

typedef Mat PETSc_Mat

Definition at line 14 of file PETScMatrix.h.