OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

Hash Class Template Reference

List of all members.

Detailed Description

template<class primitive>
class Foam::Hash< primitive >

Definition at line 54 of file Hash.H.


Public Member Functions

 Hash ()
label operator() (const primitive &p) const
label operator() (const primitive &p, const label tableSize) const
template<>
label operator() (const edge &e) const
template<>
label operator() (const triFace &t) const

Constructor & Destructor Documentation

Hash (  )  [inline]

Definition at line 59 of file Hash.H.


Member Function Documentation

label operator() ( const primitive &  p  )  const [inline]

Definition at line 62 of file Hash.H.

References Foam::mag().

Here is the call graph for this function:

label operator() ( const primitive &  p,
const label  tableSize 
) const [inline]

Definition at line 67 of file Hash.H.

label operator() ( const edge &  e  )  const [inline]

Simple commutative hash.

Definition at line 127 of file edge.H.

label operator() ( const triFace &  t  )  const [inline]

Simple commutative hash.

Definition at line 149 of file triFace.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/primitives/Hash/Hash.H
Copyright © 2000-2007 OpenCFD Ltd