SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
TetVolMesh< Basis >::FaceHash Struct Reference

#include <TetVolMesh.h>

Public Member Functions

template<class PFACE >
size_t operator() (const PFACE &f) const
 This is the hash function. More...
 
template<class PFACE >
bool operator() (const PFACE &f1, const PFACE &f2) const
 This should return less than rather than equal to. More...
 

Static Public Attributes

static const size_t bucket_size = 4
 
static const size_t min_buckets = 8
 
static const int sz_third_int = (int)(sz_int / 3)
 These are for our own use (making the hash function). More...
 
static const int up_mask = (~((int)0) << sz_third_int << sz_third_int)
 
static const int mid_mask = up_mask ^ (~((int)0) << sz_third_int)
 
static const int low_mask = ~(up_mask | mid_mask)
 

Member Function Documentation

size_t operator() ( const PFACE &  f) const
inline

This is the hash function.

bool operator() ( const PFACE &  f1,
const PFACE &  f2 
) const
inline

This should return less than rather than equal to.

Member Data Documentation

const size_t bucket_size = 4
static
const int low_mask = ~(up_mask | mid_mask)
static
const int mid_mask = up_mask ^ (~((int)0) << sz_third_int)
static
const size_t min_buckets = 8
static
const int sz_third_int = (int)(sz_int / 3)
static

These are for our own use (making the hash function).

const int up_mask = (~((int)0) << sz_third_int << sz_third_int)
static

The documentation for this struct was generated from the following file: