(git:f2099e5)
Loading...
Searching...
No Matches
grpp_radial_type1_integral.c File Reference
#include <math.h>
#include <stdlib.h>
#include "grpp_radial_type1_integral.h"
#include "libgrpp.h"
#include "grpp_specfunc.h"
#include "grpp_utils.h"

Go to the source code of this file.

Data Structures

struct  radial_type1_params_t
struct  radial_type1_grid_t

Macros

#define M_PI   3.14159265358979323846
#define MIN_GRID   2047
#define MAX_GRID   10000

Functions

static radial_type1_grid_t * create_radial_type1_grid (int lambda_max, int n_max, radial_type1_params_t *params)
static void expand_radial_type1_grid (radial_type1_grid_t *grid, int nr)
static void delete_radial_type1_grid (radial_type1_grid_t *grid)
static double calculate_radial_type1_integral (radial_type1_grid_t *grid, int n, int lambda, double tolerance, int *converged)
radial_type1_table_t * libgrpp_tabulate_radial_type1_integrals (int lambda_max, int n_max, double CA_2, double CB_2, double alpha_A, double alpha_B, double k, double prefactor, double(*potential)(double r, void *params), void *potential_params)
void libgrpp_delete_radial_type1_integrals (radial_type1_table_t *table)
double libgrpp_get_radial_type1_integral (radial_type1_table_t *table, int lambda, int n)
static double radial_type1_integrand_fun (double r, radial_type1_params_t *params)

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 41 of file grpp_radial_type1_integral.c.

◆ MIN_GRID

#define MIN_GRID   2047

Definition at line 50 of file grpp_radial_type1_integral.c.

◆ MAX_GRID

#define MAX_GRID   10000

Definition at line 51 of file grpp_radial_type1_integral.c.

Function Documentation

◆ create_radial_type1_grid()

radial_type1_grid_t * create_radial_type1_grid ( int lambda_max,
int n_max,
radial_type1_params_t * params )
static

Definition at line 158 of file grpp_radial_type1_integral.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expand_radial_type1_grid()

void expand_radial_type1_grid ( radial_type1_grid_t * grid,
int nr )
static

Definition at line 215 of file grpp_radial_type1_integral.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_radial_type1_grid()

void delete_radial_type1_grid ( radial_type1_grid_t * grid)
static

Definition at line 205 of file grpp_radial_type1_integral.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_radial_type1_integral()

double calculate_radial_type1_integral ( radial_type1_grid_t * grid,
int n,
int lambda,
double tolerance,
int * converged )
static

Definition at line 256 of file grpp_radial_type1_integral.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ libgrpp_tabulate_radial_type1_integrals()

radial_type1_table_t * libgrpp_tabulate_radial_type1_integrals ( int lambda_max,
int n_max,
double CA_2,
double CB_2,
double alpha_A,
double alpha_B,
double k,
double prefactor,
double(* potential )(double r, void *params),
void * potential_params )

Definition at line 89 of file grpp_radial_type1_integral.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ libgrpp_delete_radial_type1_integrals()

void libgrpp_delete_radial_type1_integrals ( radial_type1_table_t * table)

Definition at line 131 of file grpp_radial_type1_integral.c.

Here is the caller graph for this function:

◆ libgrpp_get_radial_type1_integral()

double libgrpp_get_radial_type1_integral ( radial_type1_table_t * table,
int lambda,
int n )

Definition at line 136 of file grpp_radial_type1_integral.c.

Here is the caller graph for this function:

◆ radial_type1_integrand_fun()

double radial_type1_integrand_fun ( double r,
radial_type1_params_t * params )
static

Definition at line 142 of file grpp_radial_type1_integral.c.

Here is the caller graph for this function: