Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Public Member Functions | |
Sparse3TensorHash (const Stokhos::Sparse3Tensor< int, double > &Cijk) | |
double | getValue (int i, int j, int k) const |
Private Attributes | |
const Stokhos::Sparse3Tensor < int, double > & | Cijk_ |
This class builds a hash table from a Sparse3Tensor. This then replaces the Sparse3Tensor::getValue with a fast hashed version of getValue. Of course this only works with boost, and if boost is installed other wise getValue is called directly
Definition at line 187 of file Stokhos_AdaptivityManager.hpp.
Stokhos::AdaptivityManager::Sparse3TensorHash::Sparse3TensorHash | ( | const Stokhos::Sparse3Tensor< int, double > & | Cijk | ) |
Definition at line 94 of file Stokhos_AdaptivityManager.cpp.
double Stokhos::AdaptivityManager::Sparse3TensorHash::getValue | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 98 of file Stokhos_AdaptivityManager.cpp.
|
private |
Definition at line 209 of file Stokhos_AdaptivityManager.hpp.