Octopus 16.0
real-space, real-time, TDDFT code
spline_low.cc File Reference
#include <config.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_spline.h>
#include "string_f.h"
#include <fortran_types.h>
#include <assert.h>
#include <iostream>
#include <vector>
Include dependency graph for spline_low.cc:

Functions

void FC_FUNC_ (oct_spline_end, OCT_SPLINE_END)(void **spl
 
 gsl_interp_accel_free ((gsl_interp_accel *)(*acc))
 
void FC_FUNC_ (oct_spline_fit, OCT_SPLINE_FIT)(const fint *nrc
 
 gsl_spline_init ((gsl_spline *)(*spl), x, y, *nrc)
 
 fflush (stdout)
 
double FC_FUNC_ (oct_spline_eval, OCT_SPLINE_EVAL)(const double *x
 
template<typename Type , int stride>
void oct_spline_eval_array (fint nn, Type *xf, const void **spl, void **acc)
 
void FC_FUNC_ (oct_spline_eval_array, OCT_SPLINE_EVAL_ARRAY)(const fint *nn
 
void FC_FUNC_ (oct_spline_eval_arrayz, OCT_SPLINE_EVAL_ARRAYZ)(const fint *nn
 
fint FC_FUNC_ (oct_spline_npoints, OCT_SPLINE_NPOINTS)(const void **spl
 
void FC_FUNC_ (oct_spline_x, OCT_SPLINE_X)(const void **spl
 
 for (i=0;i< size;i++) x[i]
 
void FC_FUNC_ (oct_spline_y, OCT_SPLINE_Y)(const void **spl
 
double FC_FUNC_ (oct_spline_eval_integ, OCT_SPLINE_EVAL_INTEG)(const void **spl
 
double FC_FUNC_ (oct_spline_eval_integ_full, OCT_SPLINE_EVAL_INTEG_FULL)(const void **spl
 
return gsl_spline_eval_integ ((gsl_spline *)(*spl), a, b,(gsl_interp_accel *)(*acc))
 
double FC_FUNC_ (oct_spline_eval_der, OCT_SPLINE_EVAL_DER)(const double *x
 
double FC_FUNC_ (oct_spline_eval_der2, OCT_SPLINE_EVAL_DER2)(const double *x
 

Variables

void void ** acc
 
void const double * x
 
void const double const double * y
 
void const double const double void ** spl = (void *)gsl_spline_alloc(gsl_interp_cspline, *nrc)
 
void double * xf
 
 size = (int)((gsl_spline *)(*spl))->size
 
double const double * a = ((gsl_spline *)(*spl))->x[0]
 
double const double const double * b = ((gsl_spline *)(*spl))->x[size - 1]
 

Function Documentation

◆ FC_FUNC_() [1/12]

void FC_FUNC_ ( oct_spline_end  ,
OCT_SPLINE_END   
)

◆ gsl_interp_accel_free()

gsl_interp_accel_free ( (gsl_interp_accel *) *  acc)

◆ FC_FUNC_() [2/12]

void FC_FUNC_ ( oct_spline_fit  ,
OCT_SPLINE_FIT   
) const

◆ gsl_spline_init()

gsl_spline_init ( (gsl_spline *) *  spl,
x  ,
y  ,
nrc 
)

◆ fflush()

fflush ( stdout  )

◆ FC_FUNC_() [3/12]

double FC_FUNC_ ( oct_spline_eval  ,
OCT_SPLINE_EVAL   
) const

◆ oct_spline_eval_array()

template<typename Type , int stride>
void oct_spline_eval_array ( fint  nn,
Type *  xf,
const void **  spl,
void **  acc 
)

◆ FC_FUNC_() [4/12]

void FC_FUNC_ ( oct_spline_eval_array  ,
OCT_SPLINE_EVAL_ARRAY   
) const

◆ FC_FUNC_() [5/12]

void FC_FUNC_ ( oct_spline_eval_arrayz  ,
OCT_SPLINE_EVAL_ARRAYZ   
) const

◆ FC_FUNC_() [6/12]

fint FC_FUNC_ ( oct_spline_npoints  ,
OCT_SPLINE_NPOINTS   
) const

◆ FC_FUNC_() [7/12]

void FC_FUNC_ ( oct_spline_x  ,
OCT_SPLINE_X   
) const

◆ for()

for ( )

◆ FC_FUNC_() [8/12]

void FC_FUNC_ ( oct_spline_y  ,
OCT_SPLINE_Y   
) const

◆ FC_FUNC_() [9/12]

double FC_FUNC_ ( oct_spline_eval_integ  ,
OCT_SPLINE_EVAL_INTEG   
) const

◆ FC_FUNC_() [10/12]

double FC_FUNC_ ( oct_spline_eval_integ_full  ,
OCT_SPLINE_EVAL_INTEG_FULL   
) const

◆ gsl_spline_eval_integ()

return gsl_spline_eval_integ ( (gsl_spline *) *  spl,
a  ,
b  ,
(gsl_interp_accel *) *  acc 
)

◆ FC_FUNC_() [11/12]

double FC_FUNC_ ( oct_spline_eval_der  ,
OCT_SPLINE_EVAL_DER   
) const

◆ FC_FUNC_() [12/12]

double FC_FUNC_ ( oct_spline_eval_der2  ,
OCT_SPLINE_EVAL_DER2   
) const

Variable Documentation

◆ acc

double const void void ** acc
Initial value:
{
gsl_spline_free((gsl_spline *)(*spl))
void const double const double void ** spl
Definition: spline_low.cc:51

◆ x

void double * x
Initial value:
{
int size, i
size
Definition: spline_low.cc:102
void const fint * i
Definition: write_iter_low.cc:126

◆ y

void double * y
Initial value:
{
int size, i

◆ spl

double const void ** spl = (void *)gsl_spline_alloc(gsl_interp_cspline, *nrc)

◆ xf

void double * xf

◆ size

size = (int)((gsl_spline *)(*spl))->size

◆ a

const double a = ((gsl_spline *)(*spl))->x[0]

◆ b

const double b = ((gsl_spline *)(*spl))->x[size - 1]