Skip to content

Commit

Permalink
Unify reference format
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Nov 7, 2024
1 parent e3bff9c commit 9642a5b
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 24 deletions.
4 changes: 2 additions & 2 deletions examples/01_LSWT_CoRh2O4.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# This tutorial introduces Sunny through its features for performing
# conventional spin wave theory calculations. We consider the crystal CoRh₂O₄
# and reproduce the calculations of [Ge et al., Phys. Rev. B 96,
# 064413](https://doi.org/10.1103/PhysRevB.96.064413).
# and reproduce the calculations of [Ge et al., Phys. Rev. B **96**,
# 064413 (2017)](https://doi.org/10.1103/PhysRevB.96.064413).

# ### Get Julia and Sunny
#
Expand Down
2 changes: 1 addition & 1 deletion examples/03_LSWT_SU3_FeI2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# that is observable in neutron scattering, and cannot be described by a
# dipole-only model. We will use the linear spin wave theory of SU(3) coherent
# states (i.e. 2-flavor bosons) to model the magnetic spectrum of FeI₂. The
# original study was performed in [Bai et al., Nature Physics 17, 467–472
# original study was performed in [Bai et al., Nature Physics **17**, 467–472
# (2021)](https://doi.org/10.1038/s41567-020-01110-1).
#
# ```@raw html
Expand Down
4 changes: 2 additions & 2 deletions examples/spinw_tutorials/SW13_LiNiPO4.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ types = ["Ni"]
cryst = Crystal(latvecs, positions, 62; types)
view_crystal(cryst)

# Create a system with exchange parameters taken from [T. Jensen, et al., PRB
# **79**, 092413 (2009)](https://doi.org/10.1103/PhysRevB.79.092413). The
# Create a system with exchange parameters taken from [T. Jensen, et al., Phys.
# Rev. B **79**, 092413 (2009)](https://doi.org/10.1103/PhysRevB.79.092413). The
# corrected anisotropy values are taken from the thesis of T. Jensen. The mode
# `:dipole_uncorrected` avoids a [classical-to-quantum rescaling factor](@ref
# "Interaction Renormalization") of anisotropy strengths, as needed for
Expand Down
10 changes: 5 additions & 5 deletions examples/spinw_tutorials/SW14_YVO3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ positions = [[0, 0, 0], [0, 0, 1/2]]
types = ["V", "V"]
cryst = Crystal(latvecs, positions, 1; types)

# Create a system following the model of [C. Ulrich, et al. PRL **91**, 257202
# (2003)](https://doi.org/10.1103/PhysRevLett.91.257202). The mode
# `:dipole_uncorrected` avoids a [classical-to-quantum rescaling factor](@ref
# "Interaction Renormalization") of anisotropy strengths, as needed for
# consistency with the original fits.
# Create a system following the model of [C. Ulrich, et al. Phys. Rev. Lett.
# **91**, 257202 (2003)](https://doi.org/10.1103/PhysRevLett.91.257202). The
# mode `:dipole_uncorrected` avoids a [classical-to-quantum rescaling
# factor](@ref "Interaction Renormalization") of anisotropy strengths, as needed
# for consistency with the original fits.

moments = [1 => Moment(s=1/2, g=2), 2 => Moment(s=1/2, g=2)]
sys = System(cryst, moments, :dipole_uncorrected; dims=(2,2,1))
Expand Down
13 changes: 7 additions & 6 deletions src/FormFactor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@ Two special, ``𝐪``-independent form factor values are available:
as a perfect point particle, while the second zeros all contributions from the
magnetic ion.
## References:
## References
1. [P. J. Brown, The Neutron Data Booklet, 2nd ed., Sec. 2.5 Magnetic Form
Factors (2003)](https://www.ill.eu/sites/ccsl/ffacts/ffachtml.html)
1. [P. J. Brown, The Neutron Data Booklet, 2nd ed., Sec. 2.5 _Magnetic Form
Factors_ (2003)](https://www.ill.eu/sites/ccsl/ffacts/ffachtml.html).
2. Coefficient tables in [McPhase
documentation](https://www2.cpfs.mpg.de/~rotter/homepage_mcphase/manual/node137.html)
3. [K. Kobayashi, T. Nagao, M. Ito, Acta Cryst. A, 67 pp 473–480
(2011)](https://doi.org/10.1107/S010876731102633X)
documentation](https://www2.cpfs.mpg.de/~rotter/homepage_mcphase/manual/node137.html).
3. [K. Kobayashi, T. Nagao, M. Ito, _Radial integrals for the magnetic form
factor of 5d transition elements_, Acta Cryst. A, **67**, 473–480
(2011)](https://doi.org/10.1107/S010876731102633X).
"""
function FormFactor(ion::String; g_lande=2)
if !haskey(radial_integral_coefficients, ion)
Expand Down
14 changes: 8 additions & 6 deletions src/Integrators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ the dipole in analogy to the vector cross product ``S × 𝐁``. The coupling to
the thermal bath maps as ``λ̃ = |𝐒| λ``. Note, therefore, that the scaling of
the `damping` parameter varies subtly between `:dipole` and `:SUN` modes.
## References:
## References
1. [D. Dahlbom et al., Phys. Rev. B 106, 235154
(2022)](https://arxiv.org/abs/2209.01265).
1. [D. Dahlbom et al., _Langevin dynamics of generalized spins as SU(N) coherent
states_, Phys. Rev. B **106**, 235154
(2022)](https://doi.org/10.1103/PhysRevB.106.235154).
"""
mutable struct Langevin
dt :: Float64
Expand Down Expand Up @@ -99,10 +100,11 @@ or its generalization to SU(_N_) coherent states [1]. One call to the
This integration scheme is exactly symplectic and eliminates energy drift over
arbitrarily long simulation trajectories.
## References:
## References
1. [H. Zhang and C. D. Batista, Phys. Rev. B 104, 104409
(2021)](https://arxiv.org/abs/2106.14125).
1. [H. Zhang and C. D. Batista, _Classical spin dynamics based on SU(N) coherent
states_, Phys. Rev. B **104**, 104409
(2021)](https://doi.org/10.1103/PhysRevB.104.104409).
"""
mutable struct ImplicitMidpoint
dt :: Float64
Expand Down
4 changes: 2 additions & 2 deletions src/KPM/SpinWaveTheoryKPM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Reasonable starting points are `1e-1` (more speed) or `1e-2` (more accuracy).
particular, KPM may mask intensities that arise near the Goldstone modes of
an ordered state with continuous symmetry.
## References:
## References
1. H. Lane et al., Kernel Polynomial Method for Linear Spin Wave Theory (2023)
1. H. Lane et al., _Kernel Polynomial Method for Linear Spin Wave Theory_ (2023)
[[arXiv:2312.08349v3](https://arxiv.org/abs/2312.08349)].
"""
struct SpinWaveTheoryKPM
Expand Down

0 comments on commit 9642a5b

Please sign in to comment.