AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
MatrixNnzStructure Class Reference

Sparsity pattern used to create PETSc matrices. More...

#include <MatrixNnzStructure.hpp>

Public Member Functions

template<class RowBasis , class ColBasis >
 MatrixNnzStructure (RowBasis const &rowBasis, ColBasis const &colBasis, SymmetryStructure symmetry=SymmetryStructure::unknown)
 
std::vector< PetscInt > const & d_nnz () const
 
std::vector< PetscInt > const & o_nnz () const
 Return Number of nonzeros in the off-diagonal part (overlap part)
 
SymmetryStructure symmetry () const
 Symmetry of the matrix entries.
 

Protected Member Functions

template<class RowBasis , class ColBasis , class LI >
void init (RowBasis const &rowBasis, PetscSequentialIndexDistribution< LI > const &rowDofMap, ColBasis const &colBasis, PetscSequentialIndexDistribution< LI > const &colDofMap)
 
template<class RowBasis , class ColBasis , class GID , class LI >
void init (RowBasis const &rowBasis, PetscParallelIndexDistribution< GID, LI > const &rowDofMap, ColBasis const &colBasis, PetscParallelIndexDistribution< GID, LI > const &colDofMap)
 

Detailed Description

Sparsity pattern used to create PETSc matrices.


The documentation for this class was generated from the following files: