Teuchos - Trilinos Tools Package
Version of the Day
|
Adds entries with optional symmetry to a sparse graph. More...
#include <Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp>
Public Types | |
typedef AdderType::index_type | index_type |
The type of indices of the sparse graph. More... | |
Public Member Functions | |
SymmetrizingGraphAdder (const Teuchos::RCP< AdderType > &adder, const std::string &symmType) | |
Constructor. More... | |
void | operator() (const index_type i, const index_type j) |
Add entry (i,j), and optionally symmetrize. More... | |
Teuchos::RCP< AdderType > | getAdder () const |
Persisting non-const view of the underlying adder object. More... | |
Adds entries with optional symmetry to a sparse graph.
AdderType | A class with at least the following interface: class AdderType {
public:
typedef ... value_type; // Ellipsis represents the actual type
};
|
Definition at line 63 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
typedef AdderType::index_type Teuchos::MatrixMarket::SymmetrizingGraphAdder< AdderType >::index_type |
The type of indices of the sparse graph.
Definition at line 66 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
inline |
Constructor.
adder | [in/out] The wrapped AdderType instance |
symmType | [in] Canonical Matrix Market string representing the symmetry storage type of the matrix data. |
Definition at line 74 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
inline |
Add entry (i,j), and optionally symmetrize.
Definition at line 83 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
inline |
Persisting non-const view of the underlying adder object.
This violates encapsulation, so please be careful with this.
Definition at line 105 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.