accelerInt  v0.1
Functions
cvodes_dydt.h File Reference

Header file for CVODEs interface to RHS of ODEs. More...

#include "header.h"
#include "sundials/sundials_nvector.h"
#include "nvector/nvector_serial.h"
Include dependency graph for cvodes_dydt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int dydt_cvodes (double t, N_Vector y, N_Vector ydot, void *f)
 The CVODEs RHS interface. More...
 

Detailed Description

Header file for CVODEs interface to RHS of ODEs.

This defines an interface to the right hand side of the ODEs to pass to CVODEs

Definition in file cvodes_dydt.h.

Function Documentation

◆ dydt_cvodes()

int dydt_cvodes ( double  t,
N_Vector  y,
N_Vector  ydot,
void *  f 
)

The CVODEs RHS interface.

Parameters
tThe current time of the system
yThe current state vector (in CVODE format)
ydotThe RHS vector to be populated (in CVODE format)
fUser data set during CVODEs setup (e.g. the system pressure)
Returns
cvode_return_code The CVODE output constant returned (see sec B.2 of CVODE documentation), currently always returns CV_SUCCESS