Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
thirdparty_interpolate.cpp File Reference
#include "cddefines.h"
#include "thirdparty.h"
Include dependency graph for thirdparty_interpolate.cpp:

Functions

STATIC double * d3_np_fs (long n, double a[], const double b[], double x[])
 
void spline_cubic_set (long n, const double t[], const double y[], double ypp[], int ibcbeg, double ybcbeg, int ibcend, double ybcend)
 
void spline_cubic_val (long n, const double t[], double tval, const double y[], const double ypp[], double *yval, double *ypval, double *yppval)
 
double lagrange (const double x[], const double y[], long n, double xval)
 

Function Documentation

STATIC double * d3_np_fs ( long  n,
double  a[],
const double  b[],
double  x[] 
)

References DEBUG_ENTRY, and NULL.

Referenced by spline_cubic_set().

double lagrange ( const double  x[],
const double  y[],
long  n,
double  xval 
)

do lagrange interpolation of order n on x[], y[]

References DEBUG_ENTRY.

Referenced by t_hydro_tbl::cs(), dawson10(), t_gaunt::gauntff(), TempInterp(), and TempInterp2().

void spline_cubic_set ( long  n,
const double  t[],
const double  y[],
double  ypp[],
int  ibcbeg,
double  ybcbeg,
int  ibcend,
double  ybcend 
)

References ASSERT, cdEXIT, d3_np_fs(), DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, and NULL.

Referenced by spline().

Here is the call graph for this function:

void spline_cubic_val ( long  n,
const double  t[],
double  tval,
const double  y[],
const double  ypp[],
double *  yval,
double *  ypval,
double *  yppval 
)

References DEBUG_ENTRY, hunt_bisect(), and NULL.

Referenced by spldrv(), and splint().

Here is the call graph for this function: