Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Stokhos::AdaptivityManager::Sparse3TensorHash Class Reference

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_
 

Detailed Description

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 153 of file Stokhos_AdaptivityManager.hpp.

Constructor & Destructor Documentation

Stokhos::AdaptivityManager::Sparse3TensorHash::Sparse3TensorHash ( const Stokhos::Sparse3Tensor< int, double > &  Cijk)

Definition at line 60 of file Stokhos_AdaptivityManager.cpp.

Member Function Documentation

double Stokhos::AdaptivityManager::Sparse3TensorHash::getValue ( int  i,
int  j,
int  k 
) const

Definition at line 64 of file Stokhos_AdaptivityManager.cpp.

Member Data Documentation

const Stokhos::Sparse3Tensor<int,double>& Stokhos::AdaptivityManager::Sparse3TensorHash::Cijk_
private

Definition at line 175 of file Stokhos_AdaptivityManager.hpp.


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