Geant4  10.02.p02
nf_Legendre.cc File Reference
#include "nf_Legendre.h"
+ Include dependency graph for nf_Legendre.cc:

Go to the source code of this file.

Classes

struct  nf_Legendre_from_ptwXY_callback_s
 

Functions

static nfu_status nf_Legendre_to_ptwXY2 (double mu, double *P, void *argList)
 
static nfu_status nf_Legendre_from_ptwXY_callback (double mu, double *f, void *argList)
 
nf_Legendre * nf_Legendre_new (int initialSize, int maxOrder, double *Cls, nfu_status *status)
 
nfu_status nf_Legendre_setup (nf_Legendre *Legendre, int initialSize, int maxOrder)
 
nfu_status nf_Legendre_release (nf_Legendre *Legendre)
 
nf_Legendre * nf_Legendre_free (nf_Legendre *Legendre)
 
nf_Legendre * nf_Legendre_clone (nf_Legendre *nfL, nfu_status *status)
 
nfu_status nf_Legendre_reallocateCls (nf_Legendre *Legendre, int size, int forceSmallerResize)
 
int nf_Legendre_maxOrder (nf_Legendre *Legendre)
 
int nf_Legendre_allocated (nf_Legendre *Legendre)
 
double nf_Legendre_getCl (nf_Legendre *Legendre, int l, nfu_status *status)
 
nfu_status nf_Legendre_setCl (nf_Legendre *Legendre, int l, double Cl)
 
nfu_status nf_Legendre_normalize (nf_Legendre *Legendre)
 
double nf_Legendre_evauluateAtMu (nf_Legendre *Legendre, double mu, nfu_status *status)
 
double nf_Legendre_PofL_atMu (int l, double mu)
 
ptwXYPoints * nf_Legendre_to_ptwXY (nf_Legendre *Legendre, double accuracy, int biSectionMax, int checkForRoots, nfu_status *status)
 
nf_Legendre * nf_Legendre_from_ptwXY (ptwXYPoints *ptwXY, int maxOrder, nfu_status *status)
 

Function Documentation

int nf_Legendre_allocated ( nf_Legendre *  Legendre)

Definition at line 112 of file nf_Legendre.cc.

nf_Legendre* nf_Legendre_clone ( nf_Legendre *  nfL,
nfu_status *  status 
)

Definition at line 70 of file nf_Legendre.cc.

References nf_Legendre_new().

+ Here is the call graph for this function:

double nf_Legendre_evauluateAtMu ( nf_Legendre *  Legendre,
double  mu,
nfu_status *  status 
)

Definition at line 160 of file nf_Legendre.cc.

References nf_Legendre_PofL_atMu(), and P.

Referenced by nf_Legendre_to_ptwXY2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nf_Legendre* nf_Legendre_free ( nf_Legendre *  Legendre)

Definition at line 61 of file nf_Legendre.cc.

References nf_Legendre_release(), and nfu_free().

Referenced by nf_Legendre_from_ptwXY().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nf_Legendre* nf_Legendre_from_ptwXY ( ptwXYPoints *  ptwXY,
int  maxOrder,
nfu_status *  status 
)
static nfu_status nf_Legendre_from_ptwXY_callback ( double  mu,
double *  f,
void *  argList 
)
static

Definition at line 300 of file nf_Legendre.cc.

References nf_Legendre_from_ptwXY_callback_s::f1, nf_Legendre_from_ptwXY_callback_s::f2, nf_Legendre_from_ptwXY_callback_s::l, nf_Legendre_from_ptwXY_callback_s::mu1, nf_Legendre_from_ptwXY_callback_s::mu2, and nf_Legendre_PofL_atMu().

Referenced by nf_Legendre_from_ptwXY().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double nf_Legendre_getCl ( nf_Legendre *  Legendre,
int  l,
nfu_status *  status 
)

Definition at line 119 of file nf_Legendre.cc.

int nf_Legendre_maxOrder ( nf_Legendre *  Legendre)

Definition at line 105 of file nf_Legendre.cc.

nf_Legendre* nf_Legendre_new ( int  initialSize,
int  maxOrder,
double *  Cls,
nfu_status *  status 
)

Definition at line 23 of file nf_Legendre.cc.

References nf_Legendre_setup(), nfu_free(), and nfu_malloc().

Referenced by nf_Legendre_clone(), and nf_Legendre_from_ptwXY().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nfu_status nf_Legendre_normalize ( nf_Legendre *  Legendre)

Definition at line 146 of file nf_Legendre.cc.

double nf_Legendre_PofL_atMu ( int  l,
double  mu 
)

Definition at line 175 of file nf_Legendre.cc.

Referenced by nf_Legendre_evauluateAtMu(), and nf_Legendre_from_ptwXY_callback().

+ Here is the caller graph for this function:

nfu_status nf_Legendre_reallocateCls ( nf_Legendre *  Legendre,
int  size,
int  forceSmallerResize 
)

Definition at line 77 of file nf_Legendre.cc.

References nfu_realloc().

Referenced by nf_Legendre_setCl(), and nf_Legendre_setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nfu_status nf_Legendre_release ( nf_Legendre *  Legendre)

Definition at line 52 of file nf_Legendre.cc.

References nfu_free().

Referenced by nf_Legendre_free().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nfu_status nf_Legendre_setCl ( nf_Legendre *  Legendre,
int  l,
double  Cl 
)

Definition at line 131 of file nf_Legendre.cc.

References nf_Legendre_reallocateCls().

Referenced by nf_Legendre_from_ptwXY().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nfu_status nf_Legendre_setup ( nf_Legendre *  Legendre,
int  initialSize,
int  maxOrder 
)

Definition at line 40 of file nf_Legendre.cc.

References nf_Legendre_reallocateCls().

Referenced by nf_Legendre_new().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ptwXYPoints* nf_Legendre_to_ptwXY ( nf_Legendre *  Legendre,
double  accuracy,
int  biSectionMax,
int  checkForRoots,
nfu_status *  status 
)

Definition at line 219 of file nf_Legendre.cc.

References n, nf_Legendre_to_ptwXY2(), and ptwXY_createFromFunction().

+ Here is the call graph for this function:

static nfu_status nf_Legendre_to_ptwXY2 ( double  mu,
double *  P,
void *  argList 
)
static

Definition at line 240 of file nf_Legendre.cc.

References nf_Legendre_evauluateAtMu().

Referenced by nf_Legendre_to_ptwXY().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: