Skip to content

Commit b79f8b6

Browse files
Make multiline comments
1 parent 76af7e7 commit b79f8b6

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

src/time_evolution/lr_mesolve.jl

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ lr_mesolve_options_default = (
5555
Δt = 0.0,
5656
)
5757

58-
# ADDITIONAL FUNCTIONS
58+
#=
59+
ADDITIONAL FUNCTIONS
60+
=#
5961

6062
select(x::Real, xarr::AbstractArray, retval = false) = retval ? xarr[argmin(abs.(x .- xarr))] : argmin(abs.(x .- xarr))
6163

@@ -131,7 +133,9 @@ function _calculate_expectation!(p, z, B, idx)
131133
end
132134
end
133135

134-
# SAVING FUNCTIONS
136+
#=
137+
SAVING FUNCTIONS
138+
=#
135139

136140
function _periodicsave_func(integrator)
137141
ip = integrator.p
@@ -158,7 +162,9 @@ function _save_affect_lr_mesolve!(integrator)
158162
return u_modified!(integrator, false)
159163
end
160164

161-
# CALLBACK FUNCTIONS
165+
#=
166+
CALLBACK FUNCTIONS
167+
=#
162168

163169
#=
164170
_adjM_condition_ratio(u, t, integrator)
@@ -271,7 +277,9 @@ function _adjM_affect!(integrator)
271277
end
272278
end
273279

274-
# DYNAMICAL EVOLUTION EQUATIONS
280+
#=
281+
DYNAMICAL EVOLUTION EQUATIONS
282+
=#
275283

276284
#=
277285
dBdz!(du, u, p, t)
@@ -344,13 +352,17 @@ function dBdz!(du, u, p, t)
344352
return dB .-= temp_MM
345353
end
346354

347-
# OUTPUT GENNERATION
355+
#=
356+
OUTPUT GENNERATION
357+
=#
348358

349359
get_z(u::AbstractArray{T}, N::Integer, M::Integer) where {T} = reshape(view(u, 1:(M*N)), N, M)
350360

351361
get_B(u::AbstractArray{T}, N::Integer, M::Integer) where {T} = reshape(view(u, (M*N+1):length(u)), M, M)
352362

353-
# PROBLEM FORMULATION
363+
#=
364+
PROBLEM FORMULATION
365+
=#
354366

355367
@doc raw"""
356368
lr_mesolveProblem(

0 commit comments

Comments
 (0)