Skip to content

Commit 5cd402f

Browse files
committed
Update Basis.jl, Close #11
1 parent 30d9354 commit 5cd402f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/Basis.jl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ BS = BasisSet(
113113
""" BasisSet
114114

115115
@doc raw"""
116+
`geometric(r₁, rₙ, n::Int; nₘₐₓ::Int=n, nₘᵢₙ::Int=1)`
117+
116118
Exponents of Gaussian basis functions are given by geometric progression:
117119
```math
118120
\begin{aligned}
@@ -156,7 +158,15 @@ julia> ν = TwoBody.geometric(0.1, 10.0, 5, nₘₐₓ = 10)
156158
@doc raw"""
157159
`GeometricBasisSet(basistype, r₁, rₙ, n; nₘᵢₙ=1, nₘₐₓ=n)`
158160
159-
This is a basis set with exponentials generated by `geometric()`.
161+
This is a basis set with exponentials generated by `geometric(r₁, rₙ, n; nₘₐₓ=n, nₘᵢₙ=1)`. You can define the same basis set as Table A2 in [E. Hiyama, M. Kamimura, Front. Phys. 13, 132106 (2018)](https://doi.org/10.1007/s11467-018-0828-5) like this:
162+
```math
163+
r_1 = 0.1,
164+
r_{n_\mathrm{max}} = 80.0,
165+
n_\mathrm{max} = 20.
166+
```
167+
```@example
168+
BS = GeometricBasisSet(SimpleGaussianBasis, 0.1, 80.0, 20)
169+
```
160170
""" GeometricBasisSet
161171

162172
@doc raw"""

0 commit comments

Comments
 (0)