You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functioncalc_exclusion(as, ϵs)
regions =zeros(Float64, (length(as), length(ϵs)))
Threads.@threadsfor i ineachindex(as)
a = as[i]
for (j, ϵ) inenumerate(ϵs)
m =JohannsenPsaltisMetric(M =1.0, a = a, ϵ3 = ϵ)
regions[i, j] =ifis_naked_singularity(m)
NaNelse
Gradus.isco(m)
endendend
regions
end
as =range(0, 1.0, 120)
ϵs =range(-8, 10, 120)
img =@timecalc_exclusion(as, ϵs)
It's really hard to find out why by catching the error because Roots.jl panics instead of throwing an error, but my few observations are that it's for negative deformation parameter mainly and high spins.
This turned out to be a red herring; the ISCO calculations are working fine, but it's the is_naked_singularity guard that is failing, returning false positives and false negatives. That algorithm needs to be revisited.
fjebaker
changed the title
Fails to calculate ISCO for certain metric configurations
is_naked_singularity: fails for certain metric configurations
Aug 28, 2024
Hits
The text was updated successfully, but these errors were encountered: