Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <Stokhos_BasisInteractionGraph.hpp>
Public Member Functions | |
BasisInteractionGraph () | |
BasisInteractionGraph (const BasisInteractionGraph &flm) | |
BasisInteractionGraph (const Stokhos::OrthogPolyBasis< int, double > &max_basis, bool onlyUseLinear=false, int porder=-1) | |
BasisInteractionGraph (const Stokhos::ProductBasis< int, double > &masterBasis, const Stokhos::ProductBasis< int, double > &rowBasis, const Stokhos::ProductBasis< int, double > &colBasis, bool onlyUseLinear=false, int porder=-1) | |
BasisInteractionGraph (const Stokhos::OrthogPolyBasis< int, double > &max_basis, const Stokhos::Sparse3Tensor< int, double > &Cijk, bool onlyUseLinear=false, int porder=-1) | |
BasisInteractionGraph (const Stokhos::ProductBasis< int, double > &masterBasis, const Stokhos::Sparse3Tensor< int, double > &Cijk, const Stokhos::ProductBasis< int, double > &rowBasis, const Stokhos::ProductBasis< int, double > &colBasis, bool onlyUseLinear=false, int porder=-1) | |
void | initialize (const Stokhos::OrthogPolyBasis< int, double > &max_basis, const Stokhos::Sparse3Tensor< int, double > &Cijk, int porder=-1) |
Setup the lookup graph. More... | |
void | initialize (const Stokhos::ProductBasis< int, double > &max_basis, const Stokhos::Sparse3Tensor< int, double > &Cijk, const Stokhos::ProductBasis< int, double > &rowBasis, const Stokhos::ProductBasis< int, double > &colBasis, int porder=-1) |
Setup the lookup graph. More... | |
const std::vector< std::size_t > & | activeIndices (std::size_t i) const |
Grab active indicies in graph for row i. More... | |
bool | operator() (std::size_t i, std::size_t j) const |
Is there an entry for (i,j) in the graph. More... | |
std::size_t | numNonZeros () const |
How many non zeros are in this graph. More... | |
std::size_t | rowCount () const |
What is the number of rows. More... | |
std::size_t | colCount () const |
What is the number of columns. More... | |
void | printGraph (std::ostream &os) const |
Protected Attributes | |
std::size_t | numCols_ |
std::vector< std::vector < std::size_t > > | vecLookup_ |
bool | onlyUseLinear_ |
Definition at line 55 of file Stokhos_BasisInteractionGraph.hpp.
Stokhos::BasisInteractionGraph::BasisInteractionGraph | ( | ) |
Definition at line 46 of file Stokhos_BasisInteractionGraph.cpp.
Stokhos::BasisInteractionGraph::BasisInteractionGraph | ( | const BasisInteractionGraph & | flm | ) |
Definition at line 49 of file Stokhos_BasisInteractionGraph.cpp.
Stokhos::BasisInteractionGraph::BasisInteractionGraph | ( | const Stokhos::OrthogPolyBasis< int, double > & | max_basis, |
bool | onlyUseLinear = false , |
||
int | porder = -1 |
||
) |
Definition at line 53 of file Stokhos_BasisInteractionGraph.cpp.
Stokhos::BasisInteractionGraph::BasisInteractionGraph | ( | const Stokhos::ProductBasis< int, double > & | masterBasis, |
const Stokhos::ProductBasis< int, double > & | rowBasis, | ||
const Stokhos::ProductBasis< int, double > & | colBasis, | ||
bool | onlyUseLinear = false , |
||
int | porder = -1 |
||
) |
Definition at line 66 of file Stokhos_BasisInteractionGraph.cpp.
Stokhos::BasisInteractionGraph::BasisInteractionGraph | ( | const Stokhos::OrthogPolyBasis< int, double > & | max_basis, |
const Stokhos::Sparse3Tensor< int, double > & | Cijk, | ||
bool | onlyUseLinear = false , |
||
int | porder = -1 |
||
) |
Definition at line 81 of file Stokhos_BasisInteractionGraph.cpp.
Stokhos::BasisInteractionGraph::BasisInteractionGraph | ( | const Stokhos::ProductBasis< int, double > & | masterBasis, |
const Stokhos::Sparse3Tensor< int, double > & | Cijk, | ||
const Stokhos::ProductBasis< int, double > & | rowBasis, | ||
const Stokhos::ProductBasis< int, double > & | colBasis, | ||
bool | onlyUseLinear = false , |
||
int | porder = -1 |
||
) |
Definition at line 89 of file Stokhos_BasisInteractionGraph.cpp.
void Stokhos::BasisInteractionGraph::initialize | ( | const Stokhos::OrthogPolyBasis< int, double > & | max_basis, |
const Stokhos::Sparse3Tensor< int, double > & | Cijk, | ||
int | porder = -1 |
||
) |
Setup the lookup graph.
Definition at line 100 of file Stokhos_BasisInteractionGraph.cpp.
void Stokhos::BasisInteractionGraph::initialize | ( | const Stokhos::ProductBasis< int, double > & | max_basis, |
const Stokhos::Sparse3Tensor< int, double > & | Cijk, | ||
const Stokhos::ProductBasis< int, double > & | rowBasis, | ||
const Stokhos::ProductBasis< int, double > & | colBasis, | ||
int | porder = -1 |
||
) |
Setup the lookup graph.
Definition at line 135 of file Stokhos_BasisInteractionGraph.cpp.
|
inline |
Grab active indicies in graph for row i.
Definition at line 85 of file Stokhos_BasisInteractionGraph.hpp.
bool Stokhos::BasisInteractionGraph::operator() | ( | std::size_t | i, |
std::size_t | j | ||
) | const |
Is there an entry for (i,j) in the graph.
Definition at line 174 of file Stokhos_BasisInteractionGraph.cpp.
std::size_t Stokhos::BasisInteractionGraph::numNonZeros | ( | ) | const |
How many non zeros are in this graph.
Definition at line 190 of file Stokhos_BasisInteractionGraph.cpp.
|
inline |
What is the number of rows.
Definition at line 95 of file Stokhos_BasisInteractionGraph.hpp.
|
inline |
What is the number of columns.
Definition at line 99 of file Stokhos_BasisInteractionGraph.hpp.
void Stokhos::BasisInteractionGraph::printGraph | ( | std::ostream & | os | ) | const |
Definition at line 180 of file Stokhos_BasisInteractionGraph.cpp.
|
protected |
Definition at line 105 of file Stokhos_BasisInteractionGraph.hpp.
|
protected |
Definition at line 107 of file Stokhos_BasisInteractionGraph.hpp.
|
protected |
Definition at line 109 of file Stokhos_BasisInteractionGraph.hpp.