(git:b77b4be)
Loading...
Searching...
No Matches
grpp_specfunc_fermi_sk.c File Reference
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include "grpp_specfunc.h"

Go to the source code of this file.

Macros

#define M_PI   3.1415926535897932384626433
 

Functions

double libgrpp_specfunc_fermi_sk (int k, double x)
 

Variables

static const double specfunc_fermi_sk_table [2001][10]
 

Macro Definition Documentation

◆ M_PI

#define M_PI   3.1415926535897932384626433

Definition at line 20 of file grpp_specfunc_fermi_sk.c.

Function Documentation

◆ libgrpp_specfunc_fermi_sk()

double libgrpp_specfunc_fermi_sk ( int  k,
double  x 
)

The S_k(x) special function. This special function is needed for the Fermi nuclear model.

allowed values of k: 2, 3, 4, 5, 6, 7

Definition at line 49 of file grpp_specfunc_fermi_sk.c.

Here is the caller graph for this function:

Variable Documentation

◆ specfunc_fermi_sk_table

static const double specfunc_fermi_sk_table
static

auxiliary special function Sk(x) used in the formula for the electrostatic potential induced by the Fermi charge distribution. "exact" implementation, direct summation, no approximate Taylor series.

Definition at line 41 of file grpp_specfunc_fermi_sk.c.