Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:language_reference:functions:getslaterintegrals [2018/09/25 13:24] – created Simon Heinze | documentation:language_reference:functions:getslaterintegrals [2018/09/25 14:43] (current) – Martin Brass | ||
---|---|---|---|
Line 2: | Line 2: | ||
### | ### | ||
- | alligned paragraph text | + | GetSlaterIntegrals(OrbitalNames, |
### | ### | ||
===== Input ===== | ===== Input ===== | ||
- | * bla : Integer | + | * OrbitalNames |
- | * bla2 : Real | + | * RadialWavefunctions1 |
+ | * RadialWavefunctions2 : optional - table of InterpolatingFunction objects - if given, the function calculates relativistic Slater integrals where RadialWavefunctions1 are the large parts and RadialWavefunctions2 the small ones | ||
===== 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 | + | |
</ | </ | ||