HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
global.funcdeclare.user.h File Reference

Function declarations (used globally) from USER parts of code. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FTYPE interpn (int order, FTYPE x_eval, FTYPE x1, FTYPE f1, FTYPE x2, FTYPE f2, FTYPE x3, FTYPE f3, FTYPE x4, FTYPE f4, FTYPE x5, FTYPE f5, FTYPE x6, FTYPE f6)
 Description: Constructs a second-order polynomial interpolating the set of points {x#, f#}, #=1..3 and evaluates it at the point x. More...
 
int bounds_generate (int i, int j, int k, FTYPE *prim)
 

Detailed Description

Function declarations (used globally) from USER parts of code.

Definition in file global.funcdeclare.user.h.

Function Documentation

int bounds_generate ( int  i,
int  j,
int  k,
FTYPE prim 
)
FTYPE interpn ( int  order,
FTYPE  x_eval,
FTYPE  x1,
FTYPE  f1,
FTYPE  x2,
FTYPE  f2,
FTYPE  x3,
FTYPE  f3,
FTYPE  x4,
FTYPE  f4,
FTYPE  x5,
FTYPE  f5,
FTYPE  x6,
FTYPE  f6 
)

Description: Constructs a second-order polynomial interpolating the set of points {x#, f#}, #=1..3 and evaluates it at the point x.

Interpolation is performed using the standard Lagrange method. Arguments: x_eval – abscissa of a point where an interpolated value is to be evaluated x1, x2, x3 – set of abscissas; should all be different; can come in any order f1, f2, f3 – set of function values at the above abscissas, i.e. f# = f( x# ), # = 1..3

Definition at line 20 of file math.tools.c.