next up previous contents [pdf] index

Next: Input parameters Up: sf_ode23 Previous: Call

Definition

float sf_ode23 (float t    /* time integration */,
                float* tol /* error tolerance */,
                float* y   /* [dim] solution */, 
                void* par  /* parameters for function evaluation */,
                void (*rhs)(void*,float*,float*) 
                /* RHS function */, 
                int (*term)(void*,float*)
             /* function returning 1 if the ray needs to terminate */)
/*< ODE solver for dy/dt = f where f comes from rhs(par,y,f)
    Note: Value of y is changed inside the function.>*/
{
   ...
}




2011-07-02