
blockSphHarm_Ylm_DEs
Extends from GNU_ScientificLibrary.Blocks.Interfaces.Block_xy.
Information
Differential Equation for Plm(x). Output contains normalization factor for Ylm(x), but without adjustment of initial dPlm/dx magnitude, result still requires overall normalization.
Parameters
| Type | Name | Default | Description |
| Integer | l | 0 | |
| Integer | m | 0 | |
| Real | Norm | sqrt((2*l + 1)/(4*Modelica.Constants.pi)*GNU_ScientificLibrary.Functions.specfunc.gamma(l - m + 1)/GNU_ScientificLibrary.Functions.specfunc.gamma(l + m + 1)) | |
| Real | x1 | -0.99999 | |
| Real | x2 | 0.99999 | |
| Real | dtdx | 1.0/(x2 - x1) | |
Components
| Type | Name | Default | Description |
| Real | xsq | | |
| Real | Plm | | (-1)^l at x1~-1 for m=0, otherwise should be 0 there |
| Real | dPlm | | magnitude needs adjustment for proper normalization |