\hypertarget{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients}{\section{Calculate\-Gradients Class Reference}
\label{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients}\index{Calculate\-Gradients@{Calculate\-Gradients}}
}


Compute the derivative of a scalar field and output it as a vector field.  




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

Inheritance diagram for Calculate\-Gradients\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.365854cm]{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a00cb6b5ae75d16f92fb020497f875685}{Calculate\-Gradients} ()
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a61af3e60b94ae3e748f6fbac1e794af7}{execute} ()
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a47e7da69d026426c73576c20f7df1db5}{set\-State\-Defaults} ()
\item 
\hyperlink{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_acb1faeed79bca48a750a1432c9751113}{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T} (0, Scalar\-Field, Legacy\-Field)
\item 
\hyperlink{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a138744f371e01770f81f7feb8423883c}{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T} (0, Vector\-Field, Legacy\-Field)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Compute the derivative of a scalar field and output it as a vector field. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a00cb6b5ae75d16f92fb020497f875685}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}!Calculate\-Gradients@{Calculate\-Gradients}}
\index{Calculate\-Gradients@{Calculate\-Gradients}!SCIRun::Modules::Fields::CalculateGradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}}
\subsubsection[{Calculate\-Gradients}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Calculate\-Gradients} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a00cb6b5ae75d16f92fb020497f875685}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a61af3e60b94ae3e748f6fbac1e794af7}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}!execute@{execute}}
\index{execute@{execute}!SCIRun::Modules::Fields::CalculateGradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}void execute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a61af3e60b94ae3e748f6fbac1e794af7}


Implements \hyperlink{class_s_c_i_run_1_1_dataflow_1_1_networks_1_1_executable_object_ad202bdf85b060603989ff7dcb1be7072}{Executable\-Object}.

\hypertarget{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_acb1faeed79bca48a750a1432c9751113}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}!I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T@{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T}}
\index{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T@{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T}!SCIRun::Modules::Fields::CalculateGradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}}
\subsubsection[{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T (
\begin{DoxyParamCaption}
\item[{0}]{, }
\item[{Scalar\-Field}]{, }
\item[{Legacy\-Field}]{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_acb1faeed79bca48a750a1432c9751113}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a138744f371e01770f81f7feb8423883c}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}!O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T@{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T}}
\index{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T@{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T}!SCIRun::Modules::Fields::CalculateGradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}}
\subsubsection[{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T (
\begin{DoxyParamCaption}
\item[{0}]{, }
\item[{Vector\-Field}]{, }
\item[{Legacy\-Field}]{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a138744f371e01770f81f7feb8423883c}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a47e7da69d026426c73576c20f7df1db5}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}!set\-State\-Defaults@{set\-State\-Defaults}}
\index{set\-State\-Defaults@{set\-State\-Defaults}!SCIRun::Modules::Fields::CalculateGradients@{S\-C\-I\-Run\-::\-Modules\-::\-Fields\-::\-Calculate\-Gradients}}
\subsubsection[{set\-State\-Defaults}]{\setlength{\rightskip}{0pt plus 5cm}virtual void set\-State\-Defaults (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_modules_1_1_fields_1_1_calculate_gradients_a47e7da69d026426c73576c20f7df1db5}


Implements \hyperlink{class_s_c_i_run_1_1_dataflow_1_1_networks_1_1_module_interface_aab45009d3b5013c51bec281010f99fe4}{Module\-Interface}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Modules/\-Legacy/\-Fields/\hyperlink{_calculate_gradients_8h}{Calculate\-Gradients.\-h}\item 
Modules/\-Legacy/\-Fields/\hyperlink{_calculate_gradients_8cc}{Calculate\-Gradients.\-cc}\end{DoxyCompactItemize}
