Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

◆ d3_np_fs()

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

References DEBUG_ENTRY, NULL, and STATIC.

Referenced by spline_cubic_set().

◆ lagrange()

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().

◆ spline_cubic_set()

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:

◆ spline_cubic_val()

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: