Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:language_reference:functions:getslaterintegrals [2018/09/25 13:30] – Martin Brass | documentation:language_reference:functions:getslaterintegrals [2025/11/20 03:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * OrbitalNames : table of strings | * OrbitalNames : table of strings | ||
| - | * RadialWavefunctions1 : table of InterpolatingFunction objects | + | * RadialWavefunctions1 : table of InterpolatingFunction objects |
| - | * RadialWavefunctions2 : optional - table of InterpolatingFunction objects | + | * RadialWavefunctions2 : optional - table of InterpolatingFunction objects |
| ===== Output ===== | ===== Output ===== | ||
| - | * bla : real | + | * R[" |
| ===== Example ===== | ===== Example ===== | ||
| ### | ### | ||
| - | description text | + | Given a grid r for the radial coordinate and the radial wave function R3dVal evaluated at that grid we can create interpolating functions and use them to calculate slater integrals |
| ### | ### | ||
| ==== Input ==== | ==== Input ==== | ||
| <code Quanty Example.Quanty> | <code Quanty Example.Quanty> | ||
| - | -- some example code | + | R3d = InterpolatingFunction.Spline(r, |
| + | |||
| + | -- calculate Slater integrals for 3d shell | ||
| + | |||
| + | Fk = GetSlaterIntegrals({" | ||
| + | |||
| + | F0dd = Fk["3d 3d 3d 3d" | ||
| + | F2dd = Fk["3d 3d 3d 3d" | ||
| + | F4dd = Fk["3d 3d 3d 3d" | ||
| </ | </ | ||
| ==== Result ==== | ==== Result ==== | ||
| <file Quanty_Output> | <file Quanty_Output> | ||
| - | text produced as output | + | |
| </ | </ | ||