/home66/gary/public_html/cloudy/c10_branch/source/thirdparty_interpolate.cpp File Reference

#include "cddefines.h"
#include "thirdparty.h"
Include dependency graph for thirdparty_interpolate.cpp:

Go to the source code of this file.

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)
double linint (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[] 
)

Definition at line 20 of file thirdparty_interpolate.cpp.

References DEBUG_ENTRY.

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[]

Definition at line 433 of file thirdparty_interpolate.cpp.

References DEBUG_ENTRY.

Referenced by TempInterp(), and TempInterp2().

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

do linear interpolation on x[], y[]; it is assumed that x[] is strictly monotonically increasing

Definition at line 456 of file thirdparty_interpolate.cpp.

References ASSERT, DEBUG_ENTRY, and hunt_bisect().

Referenced by CHIANTI_Upsilon(), cross_section(), DynaIterStart(), GetHS98CrossSection(), and LeidenCollRate().

Here is the call graph for this function:

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

Definition at line 105 of file thirdparty_interpolate.cpp.

References ASSERT, cdEXIT, d3_np_fs(), DEBUG_ENTRY, ioQQQ, and MALLOC.

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 
)

Definition at line 331 of file thirdparty_interpolate.cpp.

References DEBUG_ENTRY, and hunt_bisect().

Referenced by spldrv(), and splint().

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1