HydroSDL/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 $ f $ in $ \frac{\partial\vec{q}}{\partial t}=f(\vec{q}, \vec{Q}, \vec{p}) $ 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 $ t_{out} $

Parameters:
*f_dat,: pointer to structure of type ODE_data
tout,: output time

Definition at line 234 of file f.cpp.

References ODE_data::CumulNumOfSteps, ODE_data::cvode_mem, ODE_data::d, f_dat, ODE_data::flag, store_state_for_file(), datas::t, ODE_data::time_param, and ODE_data::y.

Referenced by main().

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 256 of file f.cpp.

References ODE_data::cvode_mem, f_dat, and ODE_data::y.

Referenced by quit_tutorial().

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 155 of file f.cpp.

References parameters::abstol, ODE_data::abstol, ODE_data::cvode_mem, f(), f_dat, ODE_data::flag, Ith, NEQ, ODE_data::P, parameters::reltol, ODE_data::reltol, ODE_data::state, T0, and ODE_data::y.

Referenced by main().


Generated on Wed Sep 20 14:30:04 2006 for hydroSDL by  doxygen 1.4.7