\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash}{\section{Prism\-Vol\-Mesh$<$ Basis $>$\-:\-:Edge\-Hash Struct Reference}
\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash}\index{Prism\-Vol\-Mesh$<$ Basis $>$\-::\-Edge\-Hash@{Prism\-Vol\-Mesh$<$ Basis $>$\-::\-Edge\-Hash}}
}


{\ttfamily \#include $<$Prism\-Vol\-Mesh.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
size\-\_\-t \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_af28a2e8f17e760240b6be14ac2a7671e}{operator()} (const \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_p_edge}{P\-Edge} \&e) const 
\begin{DoxyCompactList}\small\item\em This is the hash function. \end{DoxyCompactList}\item 
bool \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a34c6952e02b0329aa3336154ca539a69}{operator()} (const \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_p_edge}{P\-Edge} \&e1, const \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_p_edge}{P\-Edge} \&e2) const 
\begin{DoxyCompactList}\small\item\em This should return less than rather than equal to. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const size\-\_\-t \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_adc4fc3bf01ff15b2c265a25be13e8b1c}{bucket\-\_\-size} = 4
\begin{DoxyCompactList}\small\item\em These are needed by the hash\-\_\-map particularly. \end{DoxyCompactList}\item 
static const size\-\_\-t \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a83e1373a12f3fcd875cf47965c769e79}{min\-\_\-buckets} = 8
\item 
static const int \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a63e9b551fd9e71e2a8e96bf45944cff5}{sz\-\_\-int} = sizeof(int) $\ast$ 8
\begin{DoxyCompactList}\small\item\em These are for our own use (making the hash function. \end{DoxyCompactList}\item 
static const int \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a9a7cf1be1593a567f7f7b9da749cc066}{sz\-\_\-half\-\_\-int} = sizeof(int) $<$$<$ 2
\item 
static const int \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_aa0d7aa8836c455f5ef415650867664b7}{up\-\_\-mask} = (($\sim$((int)0)) $<$$<$ \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a9a7cf1be1593a567f7f7b9da749cc066}{sz\-\_\-half\-\_\-int})
\item 
static const int \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a3f142801d8b4912040487e0fd2303d5a}{low\-\_\-mask} = ($\sim$((int)0) $^\wedge$ \hyperlink{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_aa0d7aa8836c455f5ef415650867664b7}{up\-\_\-mask})
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Basis$>$struct S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh$<$ Basis $>$\-::\-Edge\-Hash}

hash the egde's node\-\_\-indecies such that edges with the same nodes hash to the same value. nodes are sorted on edge construction. 

\subsection{Member Function Documentation}
\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_af28a2e8f17e760240b6be14ac2a7671e}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!operator()@{operator()}}
\index{operator()@{operator()}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t operator() (
\begin{DoxyParamCaption}
\item[{const {\bf P\-Edge} \&}]{e}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_af28a2e8f17e760240b6be14ac2a7671e}


This is the hash function. 

\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a34c6952e02b0329aa3336154ca539a69}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!operator()@{operator()}}
\index{operator()@{operator()}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}bool operator() (
\begin{DoxyParamCaption}
\item[{const {\bf P\-Edge} \&}]{e1, }
\item[{const {\bf P\-Edge} \&}]{e2}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a34c6952e02b0329aa3336154ca539a69}


This should return less than rather than equal to. 



\subsection{Member Data Documentation}
\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_adc4fc3bf01ff15b2c265a25be13e8b1c}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!bucket\-\_\-size@{bucket\-\_\-size}}
\index{bucket\-\_\-size@{bucket\-\_\-size}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{bucket\-\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}const size\-\_\-t bucket\-\_\-size = 4\hspace{0.3cm}{\ttfamily [static]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_adc4fc3bf01ff15b2c265a25be13e8b1c}


These are needed by the hash\-\_\-map particularly. 

\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a3f142801d8b4912040487e0fd2303d5a}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!low\-\_\-mask@{low\-\_\-mask}}
\index{low\-\_\-mask@{low\-\_\-mask}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{low\-\_\-mask}]{\setlength{\rightskip}{0pt plus 5cm}const int low\-\_\-mask = ($\sim$((int)0) $^\wedge$ {\bf up\-\_\-mask})\hspace{0.3cm}{\ttfamily [static]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a3f142801d8b4912040487e0fd2303d5a}
\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a83e1373a12f3fcd875cf47965c769e79}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!min\-\_\-buckets@{min\-\_\-buckets}}
\index{min\-\_\-buckets@{min\-\_\-buckets}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{min\-\_\-buckets}]{\setlength{\rightskip}{0pt plus 5cm}const size\-\_\-t min\-\_\-buckets = 8\hspace{0.3cm}{\ttfamily [static]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a83e1373a12f3fcd875cf47965c769e79}
\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a9a7cf1be1593a567f7f7b9da749cc066}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!sz\-\_\-half\-\_\-int@{sz\-\_\-half\-\_\-int}}
\index{sz\-\_\-half\-\_\-int@{sz\-\_\-half\-\_\-int}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{sz\-\_\-half\-\_\-int}]{\setlength{\rightskip}{0pt plus 5cm}const int sz\-\_\-half\-\_\-int = sizeof(int) $<$$<$ 2\hspace{0.3cm}{\ttfamily [static]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a9a7cf1be1593a567f7f7b9da749cc066}
\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a63e9b551fd9e71e2a8e96bf45944cff5}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!sz\-\_\-int@{sz\-\_\-int}}
\index{sz\-\_\-int@{sz\-\_\-int}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{sz\-\_\-int}]{\setlength{\rightskip}{0pt plus 5cm}const int sz\-\_\-int = sizeof(int) $\ast$ 8\hspace{0.3cm}{\ttfamily [static]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_a63e9b551fd9e71e2a8e96bf45944cff5}


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

\hypertarget{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_aa0d7aa8836c455f5ef415650867664b7}{\index{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}!up\-\_\-mask@{up\-\_\-mask}}
\index{up\-\_\-mask@{up\-\_\-mask}!SCIRun::PrismVolMesh::EdgeHash@{S\-C\-I\-Run\-::\-Prism\-Vol\-Mesh\-::\-Edge\-Hash}}
\subsubsection[{up\-\_\-mask}]{\setlength{\rightskip}{0pt plus 5cm}const int up\-\_\-mask = (($\sim$((int)0)) $<$$<$ {\bf sz\-\_\-half\-\_\-int})\hspace{0.3cm}{\ttfamily [static]}}}\label{struct_s_c_i_run_1_1_prism_vol_mesh_1_1_edge_hash_aa0d7aa8836c455f5ef415650867664b7}


The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Core/\-Datatypes/\-Legacy/\-Field/\hyperlink{_prism_vol_mesh_8h}{Prism\-Vol\-Mesh.\-h}\end{DoxyCompactItemize}
