| 
    libMesh
    
   | 
 
This utility class provides a convenient implementation for building the compressed-row-storage graph required for the METIS/ParMETIS graph partitioning schemes. More...
#include <metis_csr_graph.h>
Public Member Functions | |
| void | prep_n_nonzeros (const libMesh::dof_id_type row, const libMesh::dof_id_type n_nonzeros_in) | 
| Sets the number of non-zero values in the given row.  More... | |
| libMesh::dof_id_type | n_nonzeros (const libMesh::dof_id_type row) const | 
| void | prepare_for_use () | 
| Replaces the entries in the offsets vector with their partial sums and resizes the val vector accordingly.  More... | |
| IndexType & | operator() (const libMesh::dof_id_type row, const libMesh::dof_id_type nonzero) | 
| const IndexType & | operator() (const libMesh::dof_id_type row, const libMesh::dof_id_type nonzero) const | 
Public Attributes | |
| std::vector< IndexType > | offsets | 
| std::vector< IndexType > | vals | 
This utility class provides a convenient implementation for building the compressed-row-storage graph required for the METIS/ParMETIS graph partitioning schemes.
Compressed graph data structure used by MetisPartitioner.
Definition at line 43 of file metis_csr_graph.h.
      
  | 
  inline | 
Definition at line 63 of file metis_csr_graph.h.
References libMesh::METIS_CSR_Graph< IndexType >::offsets.
      
  | 
  inline | 
Definition at line 86 of file metis_csr_graph.h.
References libMesh::METIS_CSR_Graph< IndexType >::offsets, and libMesh::METIS_CSR_Graph< IndexType >::vals.
      
  | 
  inline | 
Definition at line 97 of file metis_csr_graph.h.
References libMesh::METIS_CSR_Graph< IndexType >::offsets, and libMesh::METIS_CSR_Graph< IndexType >::vals.
      
  | 
  inline | 
Sets the number of non-zero values in the given row.
The internal indexing is 1-based.
Definition at line 52 of file metis_csr_graph.h.
References libMesh::METIS_CSR_Graph< IndexType >::offsets.
Referenced by libMesh::MetisPartitioner::partition_range().
      
  | 
  inline | 
Replaces the entries in the offsets vector with their partial sums and resizes the val vector accordingly.
Definition at line 73 of file metis_csr_graph.h.
References libMesh::libmesh_assert(), libMesh::METIS_CSR_Graph< IndexType >::offsets, and libMesh::METIS_CSR_Graph< IndexType >::vals.
Referenced by libMesh::MetisPartitioner::partition_range().
| std::vector<IndexType> libMesh::METIS_CSR_Graph< IndexType >::offsets | 
Definition at line 46 of file metis_csr_graph.h.
Referenced by libMesh::METIS_CSR_Graph< IndexType >::n_nonzeros(), libMesh::METIS_CSR_Graph< IndexType >::operator()(), libMesh::MetisPartitioner::partition_range(), libMesh::METIS_CSR_Graph< IndexType >::prep_n_nonzeros(), and libMesh::METIS_CSR_Graph< IndexType >::prepare_for_use().
| std::vector<IndexType> libMesh::METIS_CSR_Graph< IndexType >::vals | 
Definition at line 46 of file metis_csr_graph.h.
Referenced by libMesh::METIS_CSR_Graph< IndexType >::operator()(), libMesh::MetisPartitioner::partition_range(), and libMesh::METIS_CSR_Graph< IndexType >::prepare_for_use().
 1.8.16