- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

# D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/f.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
static int | f (realtype t, N_Vector y, N_Vector ydot, void *f_data)
void | solver_init (ODE_data *f_dat)
| Solver initialisation.
void | solve_ODE (ODE_data *f_dat, realtype tout)
| ODE solving.
void | solver_free (ODE_data *f_dat)
| Free solver memory.

## Detailed Description

Author:
  basile.graf@epfl.ch

This file contains stuff related to evaluation of in and stuff related to the ODE solver (initialisation, solving, closing)

Definition in file f.h.

## Function Documentation

static int f | ( | realtype | t,
|  | N_Vector | y,
|  | N_Vector | ydot,
|  | void * | f_data
| ) | `[static]`

void solve_ODE | ( | ODE_data * | f_dat,
|  | realtype | tout
| ) |

  | ODE solving. Solve the ODE from current time up to Parameters:
  | *f_dat,: | pointer to structure of type ODE_data
  | tout,: | output time
Definition at line 233 of file f.cpp. References ODE_data::CumulNumOfSteps, ODE_data::cvode_mem, ODE_data::d, ODE_data::flag, store_state(), datas::t, ODE_data::time_param, and ODE_data::y. Referenced by mexFunction().

void solver_free | ( | ODE_data * | f_dat | ) |

  | Free solver memory. Free solver memory Parameters:
  | *f_dat,: | pointer to structure of type ODE_data
Definition at line 255 of file f.cpp. References ODE_data::cvode_mem, and ODE_data::y. Referenced by mexFunction().

void solver_init | ( | ODE_data * | f_dat | ) |

  | Solver initialisation. Solver initialisation Don't forgett to call solver_free()! Parameters:
  | *f_dat,: | pointer to structure of type ODE_data
Definition at line 154 of file f.cpp. References ODE_data::abstol, ODE_data::cvode_mem, Ith, NEQ, ODE_data::state, and ODE_data::y. Referenced by mexFunction().