19#elif defined(USE_PETSC)
37static_assert(std::is_integral_v<GlobalMatrix::IndexType>,
38 "The index type for global matrices is not an integral type.");
39static_assert(std::is_integral_v<GlobalVector::IndexType>,
40 "The index type for global vectors is not an integral type.");
41static_assert(std::is_same_v<GlobalMatrix::IndexType, GlobalVector::IndexType>,
42 "The global matrix and vector index types do not match.");
MathLib::EigenMatrix GlobalMatrix
MathLib::SparsityPattern< GlobalIndexType > GlobalSparsityPattern
MathLib::EigenVector GlobalVector
GlobalMatrix::IndexType GlobalIndexType
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.