29#elif defined(USE_PETSC)
53static_assert(std::is_integral_v<GlobalMatrix::IndexType>,
54 "The index type for global matrices is not an integral type.");
55static_assert(std::is_integral_v<GlobalVector::IndexType>,
56 "The index type for global vectors is not an integral type.");
57static_assert(std::is_same_v<GlobalMatrix::IndexType, GlobalVector::IndexType>,
58 "The global matrix and vector index types do not match.");
MathLib::SparsityPattern< GlobalIndexType > GlobalSparsityPattern
GlobalMatrix::IndexType GlobalIndexType
Declaration of class PETScLinearSolver, which defines a solver object based on PETSc routines.
Declaration of class PETScMatrix, which provides an interface to PETSc matrix routines.
Declaration of class PETScVector, which provides an interface to PETSc vector routines.
RawMatrixType::Index IndexType
Global vector based on Eigen vector.
Wrapper class for PETSc matrix routines for matrix.
Wrapper class for PETSc vector.
std::vector< IndexType > SparsityPattern
A vector telling how many nonzeros there are in each global matrix row.