ext/cvode/source/cvbandpre.c
int CVBandPSolve(integer N, real t, N_Vector y, N_Vector fy,
                 N_Vector vtemp, real gamma, N_Vector ewt,
                 real delta, long int *nfePtr, N_Vector r,
                 int lr, void *bp_data, N_Vector z)
{
  CVBandPreData pdata;

  /* Assume matrix and pivots have already been allocated. */
  pdata = (CVBandPreData) bp_data;

  /* Copy r to z. */
  N_VScale(ONE, r, z);

  /* Do band backsolve on the vector z. */
  BandBacksolve(savedP, pivots, z);
 
  return(0);
}
/******************************************************************
 * CVBandPSolve solves a linear system P z = r, where P is the    *
 * matrix computed by CVBandPrecond.                              *
 *                                                                *
 * The parameters of CVBandPSolve used here are as follows:       *
 *                                                                *
 * r       is the right-hand side vector of the linear system.    *
 *                                                                *
 * bp_data is a pointer to preconditioner data - the same as the  *
 *          bp_data parameter passed to CVSpgmr.                  *
 *                                                                *
 * z       is the output vector computed by CVBandPSolve.         *
 *                                                                *
 * The value returned by the CVBandPSolve function is always 0,   *
 * indicating success.                                            *
 *                                                                *
 ******************************************************************/
CVBandPSolve solves a linear system P z = r, where P is the
matrix computed by CVBandPrecond.

The parameters of CVBandPSolve used here are as follows:

r       is the right-hand side vector of the linear system.

bp_data is a pointer to preconditioner data - the same as the
bp_data parameter passed to CVSpgmr.

z       is the output vector computed by CVBandPSolve.

The value returned by the CVBandPSolve function is always 0,
indicating success.
CVBandPSolve solves a linear system P z = r where P is the matrix computed by CVBandPrecond . The parameters of CVBandPSolve used here are as follows : r is the right - hand side vector of the linear system . bp_data is a pointer to preconditioner data - the same as the bp_data parameter passed to CVSpgmr . z is the output vector computed by CVBandPSolve . The value returned by the CVBandPSolve function is always 0 indicating success .
int CVBandPSolve(integer N, real t, N_Vector y, N_Vector fy,
                 N_Vector vtemp, real gamma, N_Vector ewt,
                 real delta, long int *nfePtr, N_Vector r,
                 int lr, void *bp_data, N_Vector z)
{
  CVBandPreData pdata;
  pdata = (CVBandPreData) bp_data;
  N_VScale(ONE, r, z);
  BandBacksolve(savedP, pivots, z);
  return(0);
}
int CVBandPSolve ( integer N , real t , N_Vector y , N_Vector fy , N_Vector vtemp , real gamma , N_Vector ewt , real delta , long int * nfePtr , N_Vector r , int lr , void * bp_data , N_Vector z ) { CVBandPreData pdata ; pdata = ( CVBandPreData ) bp_data ; N_VScale ( ONE , r , z ) ; BandBacksolve ( savedP , pivots , z ) ; return ( 0 ) ; }
CVBandPSolve solves a linear system P z = r, where P is the    
 matrix computed by CVBandPrecond.
CVBandPSolve solves a linear system P z = r where P is the matrix computed by CVBandPrecond .
/* Assume matrix and pivots have already been allocated. */ /* Copy r to z. */ /* Do band backsolve on the vector z. */