Teuchos Package Browser (Single Doxygen Collection)
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... | |
Private Attributes | |
Teuchos::RCP< AdderType > | adder_ |
The wrapped AdderType instance. More... | |
bool | symmetrize_ |
Whether to do symmetrization at all. More... | |
bool | skew_ |
Whether to negate when symmetrizing. 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 95 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 98 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 106 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
inline |
Add entry (i,j), and optionally symmetrize.
Definition at line 115 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 137 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
private |
The wrapped AdderType instance.
Definition at line 143 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
private |
Whether to do symmetrization at all.
Definition at line 145 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.
|
private |
Whether to negate when symmetrizing.
Definition at line 147 of file Teuchos_MatrixMarket_SymmetrizingGraphAdder.hpp.