OGS
PETScMatrix.cpp File Reference
#include "PETScMatrix.h"
#include "BaseLib/Error.h"
#include "BaseLib/MPI.h"
Include dependency graph for PETScMatrix.cpp:

Go to the source code of this file.

Namespaces

namespace  MathLib

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)