aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorrhaas <rhaas@ac85fae7-cede-4708-beff-ae01c7fa1c26>2013-01-11 15:04:15 +0000
committerrhaas <rhaas@ac85fae7-cede-4708-beff-ae01c7fa1c26>2013-01-11 15:04:15 +0000
commitfd05b50e5ccf463bc86ffcd19c520754e5bc03e7 (patch)
treeff04fa3b3e3afc6461b0977149c47143ed714d73 /param.ccl
parent7c39d4964e8b048681a402347b2dc7c4d57f8fee (diff)
GRHydro_InitData: add parameter to offset radial origin
r_code = r_KS - r0 with r0=1M by default. This avoids placing the central singularity on the grid. From: Roland Haas <roland.haas@physics.gatech.edu> git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/GRHydro_InitData/trunk@196 ac85fae7-cede-4708-beff-ae01c7fa1c26
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl5
1 files changed, 5 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index 51c4c9d..1eb8e46 100644
--- a/param.ccl
+++ b/param.ccl
@@ -381,6 +381,11 @@ CCTK_REAL bondi_bmag "B_0 parameter for magnetized Bondi"
0:* :: "Anything positive"
} 0.01
+CCTK_REAL bondi_radial_offset "redefine r_grid=r_KS-r0 to avoid singularity on grid"
+{
+ 0:* :: "Any positive number"
+} 0.0
+
CCTK_BOOLEAN set_bondi_beta_sonicpt "Set plasma beta parameter instead of bondi_bmag"
{
} no