\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis}{\section{Constant\-Basis$<$ T $>$ Class Template Reference}
\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis}\index{Constant\-Basis$<$ T $>$@{Constant\-Basis$<$ T $>$}}
}


Class for handling of element with constant field variables.  




{\ttfamily \#include $<$Constant.\-h$>$}

Inheritance diagram for Constant\-Basis$<$ T $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.365854cm]{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef T \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a265a253612b46abed17c61b0a5e5ce30}{value\-\_\-type}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a79a6142d096d0a9426ce99a3677b569e}{Constant\-Basis} ()
\item 
virtual \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a0f2a159a87fbe2fd888bab5104e70f39}{$\sim$\-Constant\-Basis} ()
\item 
{\footnotesize template$<$class Elem\-Data , class V\-E\-C\-T\-O\-R $>$ }\\T \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a1841ce2e26a393d9519edfe1eaa8d9f6}{interpolate} (const V\-E\-C\-T\-O\-R \&, const Elem\-Data \&cd) const 
\begin{DoxyCompactList}\small\item\em get value at parametric coordinate \end{DoxyCompactList}\item 
{\footnotesize template$<$class Elem\-Data , class V\-E\-C\-T\-O\-R1 , class V\-E\-C\-T\-O\-R2 $>$ }\\void \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a1d46c0494f56126b2c0a3762c2f5328c}{derivate} (const V\-E\-C\-T\-O\-R1 \&coords, const Elem\-Data \&, V\-E\-C\-T\-O\-R2 \&derivs) const 
\begin{DoxyCompactList}\small\item\em get first derivative at parametric coordinate \end{DoxyCompactList}\item 
{\footnotesize template$<$class V\-E\-C\-T\-O\-R $>$ }\\void \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a86a67c104140873b2d3097fc1e2f16eb}{get\-\_\-weights} (const V\-E\-C\-T\-O\-R \&coords, double $\ast$w) const 
\begin{DoxyCompactList}\small\item\em Get the weights for doing an interpolation. \end{DoxyCompactList}\item 
{\footnotesize template$<$class V\-E\-C\-T\-O\-R $>$ }\\void \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a117c19928547c1a87b8e8696f40e328b}{get\-\_\-derivate\-\_\-weights} (const V\-E\-C\-T\-O\-R \&coords, double $\ast$w) const 
\begin{DoxyCompactList}\small\item\em Get the weights for doing a gradient. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_aab19201577c27339c67af1f660e5a315}{io} (\hyperlink{class_s_c_i_run_1_1_piostream}{Piostream} \&str)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a6d252bb6b73c9270d029e1a91a33d488}{polynomial\-\_\-order} ()
\item 
static const std\-::string \hyperlink{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a97d19d6120cf44d7ad4973bc733b9513}{type\-\_\-name} (int n=-\/1)
\begin{DoxyCompactList}\small\item\em Functions for dynamic compilation and storing this object on disk. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$class S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis$<$ T $>$}

Class for handling of element with constant field variables. 

\subsection{Member Typedef Documentation}
\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a265a253612b46abed17c61b0a5e5ce30}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!value\-\_\-type@{value\-\_\-type}}
\index{value\-\_\-type@{value\-\_\-type}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{value\-\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}typedef T {\bf value\-\_\-type}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a265a253612b46abed17c61b0a5e5ce30}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a79a6142d096d0a9426ce99a3677b569e}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!Constant\-Basis@{Constant\-Basis}}
\index{Constant\-Basis@{Constant\-Basis}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{Constant\-Basis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Constant\-Basis} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a79a6142d096d0a9426ce99a3677b569e}
\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a0f2a159a87fbe2fd888bab5104e70f39}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!$\sim$\-Constant\-Basis@{$\sim$\-Constant\-Basis}}
\index{$\sim$\-Constant\-Basis@{$\sim$\-Constant\-Basis}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{$\sim$\-Constant\-Basis}]{\setlength{\rightskip}{0pt plus 5cm}virtual $\sim${\bf Constant\-Basis} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a0f2a159a87fbe2fd888bab5104e70f39}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a1d46c0494f56126b2c0a3762c2f5328c}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!derivate@{derivate}}
\index{derivate@{derivate}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{derivate}]{\setlength{\rightskip}{0pt plus 5cm}void derivate (
\begin{DoxyParamCaption}
\item[{const V\-E\-C\-T\-O\-R1 \&}]{coords, }
\item[{const Elem\-Data \&}]{, }
\item[{V\-E\-C\-T\-O\-R2 \&}]{derivs}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a1d46c0494f56126b2c0a3762c2f5328c}


get first derivative at parametric coordinate 

\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a117c19928547c1a87b8e8696f40e328b}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!get\-\_\-derivate\-\_\-weights@{get\-\_\-derivate\-\_\-weights}}
\index{get\-\_\-derivate\-\_\-weights@{get\-\_\-derivate\-\_\-weights}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{get\-\_\-derivate\-\_\-weights}]{\setlength{\rightskip}{0pt plus 5cm}void get\-\_\-derivate\-\_\-weights (
\begin{DoxyParamCaption}
\item[{const V\-E\-C\-T\-O\-R \&}]{coords, }
\item[{double $\ast$}]{w}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a117c19928547c1a87b8e8696f40e328b}


Get the weights for doing a gradient. 

\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a86a67c104140873b2d3097fc1e2f16eb}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!get\-\_\-weights@{get\-\_\-weights}}
\index{get\-\_\-weights@{get\-\_\-weights}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{get\-\_\-weights}]{\setlength{\rightskip}{0pt plus 5cm}void get\-\_\-weights (
\begin{DoxyParamCaption}
\item[{const V\-E\-C\-T\-O\-R \&}]{coords, }
\item[{double $\ast$}]{w}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a86a67c104140873b2d3097fc1e2f16eb}


Get the weights for doing an interpolation. 

\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a1841ce2e26a393d9519edfe1eaa8d9f6}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!interpolate@{interpolate}}
\index{interpolate@{interpolate}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{interpolate}]{\setlength{\rightskip}{0pt plus 5cm}T interpolate (
\begin{DoxyParamCaption}
\item[{const V\-E\-C\-T\-O\-R \&}]{, }
\item[{const Elem\-Data \&}]{cd}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a1841ce2e26a393d9519edfe1eaa8d9f6}


get value at parametric coordinate 

\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_aab19201577c27339c67af1f660e5a315}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!io@{io}}
\index{io@{io}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{{\bf Piostream} \&}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_aab19201577c27339c67af1f660e5a315}
\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a6d252bb6b73c9270d029e1a91a33d488}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!polynomial\-\_\-order@{polynomial\-\_\-order}}
\index{polynomial\-\_\-order@{polynomial\-\_\-order}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{polynomial\-\_\-order}]{\setlength{\rightskip}{0pt plus 5cm}static int polynomial\-\_\-order (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a6d252bb6b73c9270d029e1a91a33d488}
\hypertarget{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a97d19d6120cf44d7ad4973bc733b9513}{\index{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}!type\-\_\-name@{type\-\_\-name}}
\index{type\-\_\-name@{type\-\_\-name}!SCIRun::Core::Basis::ConstantBasis@{S\-C\-I\-Run\-::\-Core\-::\-Basis\-::\-Constant\-Basis}}
\subsubsection[{type\-\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string type\-\_\-name (
\begin{DoxyParamCaption}
\item[{int}]{n = {\ttfamily -\/1}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_s_c_i_run_1_1_core_1_1_basis_1_1_constant_basis_a97d19d6120cf44d7ad4973bc733b9513}


Functions for dynamic compilation and storing this object on disk. 



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Core/\-Basis/\hyperlink{_constant_8h}{Constant.\-h}\end{DoxyCompactItemize}
