26#elif defined(USE_PETSC)
44static_assert(std::is_integral_v<GlobalMatrix::IndexType>,
45 "The index type for global matrices is not an integral type.");
46static_assert(std::is_integral_v<GlobalVector::IndexType>,
47 "The index type for global vectors is not an integral type.");
48static_assert(std::is_same_v<GlobalMatrix::IndexType, GlobalVector::IndexType>,
49 "The global matrix and vector index types do not match.");
MathLib::SparsityPattern< GlobalIndexType > GlobalSparsityPattern
GlobalMatrix::IndexType GlobalIndexType
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.