aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorknarf <knarf@ac85fae7-cede-4708-beff-ae01c7fa1c26>2009-11-18 16:36:37 +0000
committerknarf <knarf@ac85fae7-cede-4708-beff-ae01c7fa1c26>2009-11-18 16:36:37 +0000
commit7c7511d577c233d97a5edf7f4403768935bf696b (patch)
tree61396f20a2174bbc708734fabf72e101001c4a53 /param.ccl
This is a _temporary_ repository to be able to start to work on the
code right now. I have put in the public version of Whisky to start from. Everybody with commit rights should get commit messages (and the other way around). It should not be a problem to add people to that list, just ask. I don't want to get into political problems because someone feels excluded, but I also don't want to give everyone access per se. Frank git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/GRHydro_InitData/trunk@3 ac85fae7-cede-4708-beff-ae01c7fa1c26
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl103
1 files changed, 103 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
new file mode 100644
index 0000000..e782674
--- /dev/null
+++ b/param.ccl
@@ -0,0 +1,103 @@
+# Parameter definitions for thorn Whisky_Init_Data
+# $Header$
+
+shares:HydroBase
+
+USES CCTK_INT timelevels
+
+shares:ADMBase
+
+EXTENDS KEYWORD initial_data ""
+{
+# "shocktube" :: "Shock tube initial data for Whisky"
+ "con2primtest" :: "Testing the con -> prim conversion"
+ "con2prim2con_test" :: "Testing the con -> prim -> con conversion"
+ "reconstruction_test" :: "Testing reconstruction"
+}
+
+private:
+
+KEYWORD whisky_initial_data "Initial data for hydro variables only"
+{
+ "none" :: "Nothing set here"
+ "shocktube" :: "Shocktube type"
+ "only_atmo" :: "Set only a low atmosphere"
+ "read_conformal":: "After reading in initial alp, rho and gxx from h5 files, sets the other quantities"
+ "simple_wave" :: "Set initial data from Anile Miller Motta, Phys.Fluids. 26, 1450 (1983)"
+} "none"
+
+KEYWORD shocktube_type "Diagonal or parallel shock?"
+{
+ "diagshock" :: "Diagonal across all axes"
+ "xshock" :: "Parallel to x axis"
+ "yshock" :: "Parallel to y axis"
+ "zshock" :: "Parallel to z axis"
+ "sphere" :: "spherically symmetric shock"
+} "diagshock"
+
+KEYWORD shock_case "Simple, Sod's problem or other?"
+{
+ "Simple" :: "GRAstro_Hydro test case"
+ "Sod" :: "Sod's problem"
+ "Blast" :: "Strong blast wave"
+} "Sod"
+
+REAL shock_xpos "Position of shock plane: x"
+{
+ *:* :: "Anything"
+} 0.0
+
+REAL shock_ypos "Position of shock plane: y"
+{
+ *:* :: "Anything"
+} 0.0
+
+REAL shock_zpos "Position of shock plane: z"
+{
+ *:* :: "Anything"
+} 0.0
+
+REAL shock_radius "Radius of sperical shock"
+{
+ 0.0:* :: "Anything positive"
+} 1.0
+
+BOOLEAN change_shock_direction "Change the shock direction"
+{
+} "no"
+
+REAL simple_wave_constant_c_0 "The c_0 constant in Anile Miller Motta, Phys.Fluids. 26, 1450 (1983)"
+{
+ 0:1 :: "It is the sound speed where the fluid velocity is zero"
+} 0.3
+
+REAL simple_wave_v_max "The v_max constant in Anile Miller Motta, Phys.Fluids. 26, 1450 (1983)"
+{
+ 0:1 :: "It is the maximum velocity in the initial configuration (see p. 1457, bottom of first column)"
+} 0.7
+
+# For the "atmosphere"
+
+REAL atmosphere_vel[3] "Velocity of the atmosphere if non-trivial"
+{
+ *:* :: "Anything"
+} 0.0
+
+BOOLEAN attenuate_atmosphere "Attenuate the velocity in the atmosphere"
+{
+} "no"
+
+shares:whisky
+
+USES real whisky_rho_central
+USES real whisky_eps_min ""
+USES real whisky_perc_ptol ""
+USES real whisky_del_ptol ""
+USES string whisky_eos_type ""
+USES string whisky_eos_table ""
+USES string tvd_limiter ""
+USES real rho_abs_min
+USES real rho_rel_min
+USES REAL initial_rho_abs_min
+USES REAL initial_rho_rel_min
+USES REAL initial_atmosphere_factor