- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

# 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
## 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 in

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 in : state, i.e. state : generalized applied forces, i.e. computed from *d and *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().