\hypertarget{compute__state__dot_8cpp}{
\section{D:/Basile/Visual\-Cpp\-Projects/hydro\-MEX3/hydro\-MEX3/hydro\_\-source/compute\_\-state\_\-dot.cpp File Reference}
\label{compute__state__dot_8cpp}\index{D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/hydro_source/compute_state_dot.cpp@{D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/hydro\_\-source/compute\_\-state\_\-dot.cpp}}
}
{\tt \#include \char`\"{}math.h\char`\"{}}\par
{\tt \#include \char`\"{}mex.h\char`\"{}}\par
{\tt \#include \char`\"{}string.h\char`\"{}}\par
{\tt \#include \char`\"{}hydro\_\-includes.h\char`\"{}}\par


Include dependency graph for compute\_\-state\_\-dot.cpp:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=297pt]{compute__state__dot_8cpp__incl}
\end{center}
\end{figure}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{compute__state__dot_8cpp_1daf785e3f68d293c7caa1c756d5cb74}{pi}~3.141592653589793
\item 
\#define \hyperlink{compute__state__dot_8cpp_598a3330b3c21701223ee0ca14316eca}{PI}~3.141592653589793
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{compute__state__dot_8cpp_60cfec47058582dd72696849d65b57e5}{compute\_\-state\_\-dot} (struct \hyperlink{structdatas}{datas} $\ast$d, struct \hyperlink{structparameters}{parameters} $\ast$P, double $\ast$state)
\begin{CompactList}\small\item\em Evaluates right hand side of partial differential equation. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
\begin{Desc}
\item[Author:]\href{mailto:basile.graf@epfl.ch}{\tt basile.graf@epfl.ch}\end{Desc}
This file contains stuff related to evaluation of $ f $ in $ \frac{\partial\vec{q}}{\partial t}=f(\vec{q}, \vec{Q}, \vec{p}) $ 

Definition in file \hyperlink{compute__state__dot_8cpp-source}{compute\_\-state\_\-dot.cpp}.

\subsection{Define Documentation}
\hypertarget{compute__state__dot_8cpp_598a3330b3c21701223ee0ca14316eca}{
\index{compute_state_dot.cpp@{compute\_\-state\_\-dot.cpp}!PI@{PI}}
\index{PI@{PI}!compute_state_dot.cpp@{compute\_\-state\_\-dot.cpp}}
\subsubsection[PI]{\setlength{\rightskip}{0pt plus 5cm}\#define PI~3.141592653589793}}
\label{compute__state__dot_8cpp_598a3330b3c21701223ee0ca14316eca}




Definition at line 22 of file compute\_\-state\_\-dot.cpp.\hypertarget{compute__state__dot_8cpp_1daf785e3f68d293c7caa1c756d5cb74}{
\index{compute_state_dot.cpp@{compute\_\-state\_\-dot.cpp}!pi@{pi}}
\index{pi@{pi}!compute_state_dot.cpp@{compute\_\-state\_\-dot.cpp}}
\subsubsection[pi]{\setlength{\rightskip}{0pt plus 5cm}\#define pi~3.141592653589793}}
\label{compute__state__dot_8cpp_1daf785e3f68d293c7caa1c756d5cb74}




Definition at line 21 of file compute\_\-state\_\-dot.cpp.

\subsection{Function Documentation}
\hypertarget{compute__state__dot_8cpp_60cfec47058582dd72696849d65b57e5}{
\index{compute_state_dot.cpp@{compute\_\-state\_\-dot.cpp}!compute_state_dot@{compute\_\-state\_\-dot}}
\index{compute_state_dot@{compute\_\-state\_\-dot}!compute_state_dot.cpp@{compute\_\-state\_\-dot.cpp}}
\subsubsection[compute\_\-state\_\-dot]{\setlength{\rightskip}{0pt plus 5cm}void compute\_\-state\_\-dot (struct \hyperlink{structdatas}{datas} $\ast$ {\em d}, struct \hyperlink{structparameters}{parameters} $\ast$ {\em P}, double $\ast$ {\em state})}}
\label{compute__state__dot_8cpp_60cfec47058582dd72696849d65b57e5}


Evaluates right hand side of partial differential equation. 

This function evaluates $ f $ in $ \frac{\partial\vec{q}}{\partial t}=f(\vec{q}, \vec{Q}, \vec{p}) $ \par
 $ \vec{q} $ : state, i.e. state \par
 $ \vec{Q} $ : generalized applied forces, i.e. computed from $\ast$d and $\ast$P \par
 $ \vec{p} $ : lots of parameters , i.e. from $\ast$d and $\ast$P \par
 \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em $\ast$d}]: pointer to the datas data-structure \item[{\em $\ast$P}]: parameters struct comming from MATLAB \item[{\em state,:}]state vector (double\mbox{[}12\mbox{]}) \end{description}
\end{Desc}


Definition at line 37 of file compute\_\-state\_\-dot.cpp.

References data\_\-update\_\-state(), datas::d\-Equ\_\-left, datas::d\-Equ\_\-right, datas::d\-Equ\_\-yaw, EE\_\-flat\_\-compute(), datas::EE\_\-left, datas::EE\_\-left\_\-flat, datas::EE\_\-right, datas::EE\_\-right\_\-flat, datas::EE\_\-yaw, datas::EE\_\-yaw\_\-flat, equ\_\-compute(), datas::Equ\_\-left, datas::Equ\_\-right, datas::Equ\_\-yaw, and datas::Fac\_\-update.

Referenced by f().