Chi-Tech
B Math

Modules

 Functions
 
 Quadrature rules
 
 Spatial Discretizations
 
 Time Integration
 
 chi_math.NonLinearSolverOptions
 

Functions

void chi_lua::chiLegendre (int N, double x)
 
void chi_lua::chiLegendreDerivative (int N, double x)
 
void chi_lua::chiYlm (int ell, int m, double theta, double varphi)
 

Detailed Description

Function Documentation

◆ chiLegendre()

void chi_lua::chiLegendre ( int  N,
double  x 
)

Provides the function evaluation of Pn at value x.

Parameters
Nint The Legendre polynomial.
xdouble The evaluation point.

Usage Examples:

test/framework/chi_math/Quadrature/quadrature_test1.lua
test/framework/chi_math/Quadrature/gold/quadrature_test1.lua.gold

Definition at line 2819 of file lua_functions.c.

◆ chiLegendreDerivative()

void chi_lua::chiLegendreDerivative ( int  N,
double  x 
)

Provides the function evaluation of the derivative of Pn at value x

Parameters
Nint The Legendre polynomial.
xdouble The evaluation point.

Usage Examples:

test/framework/chi_math/Quadrature/quadrature_test1.lua
test/framework/chi_math/Quadrature/gold/quadrature_test1.lua.gold

Definition at line 2829 of file lua_functions.c.

◆ chiYlm()

void chi_lua::chiYlm ( int  ell,
int  m,
double  theta,
double  varphi 
)

Provides the function evaluation of the spherical harmonics.

Parameters
ellint The $ \ell $-th order of the harmonic.
mint The $ m $-th moment of the harmonic.
thetadouble Radian polar angle $ \theta $.
varphidouble Radian azimuthal angle $ \varphi $.

This code has a whitepaper associated with it Spherical Harmonics

Usage Examples:

test/framework/chi_math/Quadrature/quadrature_test1.lua
test/framework/chi_math/Quadrature/gold/quadrature_test1.lua.gold

Definition at line 2844 of file lua_functions.c.