Skip to content
Snippets Groups Projects
Commit acd803ca authored by Florian Atteneder's avatar Florian Atteneder
Browse files

GRHD: impose atmosphere when momentum admissibility condition is violated...

GRHD: impose atmosphere when momentum admissibility condition is violated (!224)

The condition is from arXiv:1306.4953 where they suggest to rescale the momemtum to fix this.
I think that rescaling is as ambiguous as resetting to atmosphere.
I decided to to the latter now as this is how I wrote it up in the thesis.
parent 6fcf974d
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -191,14 +191,15 @@ end
k = r / (1.0+q)
if !(0.0 k 1.0) # admissibility constraint from arXiv:1306.4953, Appendix
c2p_init_admissible = 1.0
# rescale Si such that r = 1+q
rescale = 0.99*(1+q)/r
Sx *= rescale
Sz *= rescale
rx = Sx / D
rz = Sz / D
r2 = γuuxx*rx*rx+γuuzz*rz*rz
r = sqrt(r2)
@goto impose_atmosphere
# # rescale Si such that r = 1+q
# rescale = 0.99*(1+q)/r
# Sx *= rescale
# Sz *= rescale
# rx = Sx / D
# rz = Sz / D
# r2 = γuuxx*rx*rx+γuuzz*rz*rz
# r = sqrt(r2)
end
z0 = r/h0
v0 = z0 / sqrt(1.0 + z0^2)
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment