44 #ifndef STOKHOS_BASIS_INTERACTION_GRAPH_HPP
45 #define STOKHOS_BASIS_INTERACTION_GRAPH_HPP
66 bool onlyUseLinear=
false,
int porder=-1);
114 #endif // STOKHOS_BASIS_INTERACTION_GRAPH_HPP
void printGraph(std::ostream &os) const
std::size_t colCount() const
What is the number of columns.
std::size_t numNonZeros() const
How many non zeros are in this graph.
const std::vector< std::size_t > & activeIndices(std::size_t i) const
Grab active indicies in graph for row i.
void initialize(const Stokhos::OrthogPolyBasis< int, double > &max_basis, const Stokhos::Sparse3Tensor< int, double > &Cijk, int porder=-1)
Setup the lookup graph.
bool operator()(std::size_t i, std::size_t j) const
Is there an entry for (i,j) in the graph.
std::vector< std::vector< std::size_t > > vecLookup_
std::size_t rowCount() const
What is the number of rows.