DickeModel.ClassicalLMG
For examples of usage, go to Examples for ClassicalLMG.
DickeModel.ClassicalLMG.ClassicalLMGSystem — Typestruct ClassicalLMGSystem <: ClassicalSystems.ClassicalSystemSubtype of ClassicalSystems.ClassicalSystem which represents the classical LMG model with the given parameters $Ω$ and $ξ$. See Eq. (2) of Ref. [12]. To generate this struct, use the constructor
ClassicalLMGSystem(;Ω::Real,ξ::Real)For example, system = ClassicalLMGSystem(Ω=1, ξ=1).
This struct may be passed to all functions in this module that require an instance of ClassicalLMG.ClassicalLMGSystem, as well as functions in other modules that require the abstract ClassicalSystems.ClassicalSystem, such as ClassicalSystems.integrate.
DickeModel.ClassicalLMG.hamiltonian — Functionfunction hamiltonian(system::ClassicalLMGSystem)Returns a classical Hamiltonian function h(x) where x=[Q,P], which is given by Eq. (2) of Ref. [12].
Arguments
systemshould be generated withClassicalLMG.ClassicalLMGSystem.
Phase space
DickeModel.ClassicalLMG.Point — Functionfunction Point(;Q::Real,P::Real)Returns the list [Q,P]
function Point(system::ClassicalLMGSystem;
Q::Real,
ϵ::Real,
sgn::Union{typeof(-),typeof(+)} = +)Returns a list [Q,P], where P is calculated with P_of_ϵ. If there are no solutions for $P$, an error is raised.
DickeModel.ClassicalLMG.Pointθϕ — Functionfunction Pointθϕ(;θ::Real,ϕ::Real)Returns a list [Q,P], where Q and P are calculated from θ and ϕ using PhaseSpaces.Q_of_θϕ and PhaseSpaces.P_of_θϕ.
Roots in $P$
DickeModel.ClassicalLMG.discriminant_of_P_solution — Functionfunction discriminant_of_P_solution(system::ClassicalLMGSystem,Q::Real,ϵ::Real)Returns the discriminant of the second degree equation in $P$ given by
\[ h_\text{cl}(Q,P)=\epsilon,\]
where $h_\text{cl}$ is given by Eq. (2) of Ref. [12].
Arguments
systemshould be generated withClassicalLMGSystem.Qandϵare the values of $Q$ and $\epsilon$, respectively.
DickeModel.ClassicalLMG.P_of_ϵ — Functionfunction P_of_ϵ(system::ClassicalLMGSystem;
Q::Real,
ϵ::Real,
sgn::Union{typeof(-),typeof(+)}=+,
returnNaNonError::Bool=true)Returns the solutions $P_\pm$ of the second degree equation in $P$ given by
\[ h_\text{cl}(Q,P)=\epsilon,\]
where $h_\text{cl}$ is given by Eq. (2) of Ref. [12].
Arguments
systemshould be generated withClassicalLMGSystem.
Keyword arguments
Qandϵare values of $Q$ and $\epsilon$, respectively.sgnis+for $P_+$ and-for $P_-$- If
returnNaNonErroristrue, thenNaNis returned if there are no solutions. If it isfalse, and error is raised.
DickeModel.ClassicalLMG.Point — Methodfunction Point(system::ClassicalLMGSystem;
Q::Real,
ϵ::Real,
sgn::Union{typeof(-),typeof(+)} = +)Returns a list [Q,P], where P is calculated with P_of_ϵ. If there are no solutions for $P$, an error is raised.
Energy minimizing
DickeModel.ClassicalLMG.minimum_ϵ_for — Functionfunction minimum_ϵ_for(system::ClassicalLMGSystem;
Q::Union{Real,Nothing}=nothing,
P::Union{Real,Nothing}=nothing)Returns the minimum energy $\epsilon$ when constraining the system to one fixed value of the coordinates $Q$ or $P$.
Arguments
systemshould be generated withClassicalLMGSystem.
Keyword arguments
- You may pass either $P$ or $Q$.