Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
Stokhos::BasisInteractionGraph Class Reference

Public Member Functions

 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.
 
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.
 
const std::vector< std::size_t > & activeIndices (std::size_t i) const
 Grab active indicies in graph for row i.
 
bool operator() (std::size_t i, std::size_t j) const
 Is there an entry for (i,j) in the graph.
 
std::size_t numNonZeros () const
 How many non zeros are in this graph.
 
std::size_t rowCount () const
 What is the number of rows.
 
std::size_t colCount () const
 What is the number of columns.
 
void printGraph (std::ostream &os) const
 

Protected Attributes

std::size_t numCols_
 
std::vector< std::vector
< std::size_t > > 
vecLookup_
 
bool onlyUseLinear_
 

The documentation for this class was generated from the following files: