accelerInt  v0.1
Functions
cvodes_dydt.c File Reference

CVODEs Wrapper for the RHS function. More...

#include "dydt.h"
#include "cvodes_dydt.h"
Include dependency graph for cvodes_dydt.c:

Go to the source code of this file.

Functions

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

Detailed Description

CVODEs Wrapper for the RHS function.

Definition in file cvodes_dydt.c.

Function Documentation

◆ dydt_cvodes()

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

This method translates the N_Vector y and ydot's to simple double pointers that may be passed to the internal dydt function. Additionally, the user data (f) is cast to a double as supplied as the 'Pressure' parameter for dydt.

Definition at line 16 of file cvodes_dydt.c.