D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/hydro_source/compute_state_dot.cpp File Reference

#include "math.h"
#include "mex.h"
#include "string.h"
#include "hydro_includes.h"

Include dependency graph for compute_state_dot.cpp:

Go to the source code of this file.

Defines

#define pi   3.141592653589793
#define PI   3.141592653589793

Functions

void compute_state_dot (struct datas *d, struct parameters *P, double *state)
 Evaluates right hand side of partial differential equation.


Detailed Description

Author:
basile.graf@epfl.ch
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 compute_state_dot.cpp.


Define Documentation

#define PI   3.141592653589793
 

Definition at line 22 of file compute_state_dot.cpp.

#define pi   3.141592653589793
 

Definition at line 21 of file compute_state_dot.cpp.


Function Documentation

void compute_state_dot struct datas d,
struct parameters P,
double *  state
 

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}) $
$ \vec{q} $ : state, i.e. state
$ \vec{Q} $ : generalized applied forces, i.e. computed from *d and *P
$ \vec{p} $ : lots of parameters , i.e. from *d and *P

Parameters:
*d : pointer to the datas data-structure
*P : parameters struct comming from MATLAB
state,: state vector (double[12])

Definition at line 37 of file compute_state_dot.cpp.

References data_update_state(), datas::dEqu_left, datas::dEqu_right, datas::dEqu_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().


Generated on Fri Jun 9 19:10:27 2006 for hydroMex3 by  doxygen 1.4.6-NO