#include <SparsityPattern.h>
Public Member Functions | |
| SparsityPattern () | |
| ~SparsityPattern () | |
| int | init (int num_rows) |
| int | register_contribution (int i, int j, scalar *contrib_memory_loc) |
| bool | check_for_contribution (int i, int j) |
| SparseMatrixFixedPattern * | create_sparse_matrix () |
| void | print () |
Private Attributes | |
| int | num_rows |
| Number of rows in matrix. More... | |
| list< sparse_contribution_location * > * | row |
| int | num_nonzero_elements |
| Total number of nonzero elements in the sparsity pattern */. More... | |
| SparsityPattern::SparsityPattern | ( | ) |
| SparsityPattern::~SparsityPattern | ( | ) |
| bool SparsityPattern::check_for_contribution | ( | int | i, |
| int | j | ||
| ) |
Referenced by NoMassCGSolver::init().
| SparseMatrixFixedPattern * SparsityPattern::create_sparse_matrix | ( | ) |
Factory function for making empty fixed sparsity pattern matrices from this sparsity pattern
Referenced by Blob::build_mass_matrix(), NoMassCGSolver::init(), and Blob::init().
| int SparsityPattern::init | ( | int | num_rows | ) |
Referenced by Blob::build_mass_matrix(), NoMassCGSolver::init(), and Blob::init().
| void SparsityPattern::print | ( | ) |
| int SparsityPattern::register_contribution | ( | int | i, |
| int | j, | ||
| scalar * | contrib_memory_loc | ||
| ) |
Referenced by Blob::build_mass_matrix(), NoMassCGSolver::init(), and Blob::init().
|
private |
Total number of nonzero elements in the sparsity pattern */.
Referenced by create_sparse_matrix(), register_contribution(), SparsityPattern(), and ~SparsityPattern().
|
private |
Number of rows in matrix.
Referenced by create_sparse_matrix(), init(), print(), SparsityPattern(), and ~SparsityPattern().
|
private |
An array of vectors containing the indices of the occupied sites
Referenced by check_for_contribution(), create_sparse_matrix(), init(), print(), register_contribution(), SparsityPattern(), and ~SparsityPattern().