[Commits] [svn:einsteintoolkit] GRHydro_InitData/trunk/ (Rev. 155)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Tue Sep 4 07:28:44 CDT 2012


User: rhaas
Date: 2012/09/04 07:28 AM

Modified:
 /trunk/
  param.ccl, schedule.ccl

Log:
 GRHydro_InitData: extent initial_Bvec
 
 rather than defining a private parameter of the same name.
 
 From: Roland Haas <roland.haas at physics.gatech.edu>

File Changes:

Directory: /trunk/
==================

File [modified]: param.ccl
Delta lines: +5 -6
===================================================================
--- trunk/param.ccl	2012-09-04 12:28:43 UTC (rev 154)
+++ trunk/param.ccl	2012-09-04 12:28:44 UTC (rev 155)
@@ -23,6 +23,11 @@
   "magnetized_bondi_solution_iso" :: "Magnetized Spherical single black hole Bondi solution - TEST ISO CASE!!!!!!"
 }
 
+EXTENDS KEYWORD initial_Bvec
+{
+  "shocktube"	:: "Shocktube type"
+  "poloidalmagfield" :: "Poloidal Magnetic Field"
+}
 shares:ADMBase
 
 EXTENDS KEYWORD initial_data ""
@@ -37,12 +42,6 @@
 
 private:
 
-KEYWORD initial_Bvec "Initial magnetic field."
-{
-  "none"             :: "No initial magnetic field is set."
-  "poloidalmagfield" :: "Poloidal Magnetic Field"
-} "none"
-
 KEYWORD shocktube_type "Diagonal or parallel shock?"
 {
   "diagshock"	:: "Diagonal across all axes"

File [modified]: schedule.ccl
Delta lines: +1 -1
===================================================================
--- trunk/schedule.ccl	2012-09-04 12:28:43 UTC (rev 154)
+++ trunk/schedule.ccl	2012-09-04 12:28:44 UTC (rev 155)
@@ -34,7 +34,7 @@
 }
 
 if (CCTK_Equals(initial_hydro,"shocktube")) {
-  if(CCTK_Equals(Bvec_evolution_method,"GRHydro"))
+  if(CCTK_Equals(initial_Bvec,"shocktube"))
   {
     schedule GRHydro_shocktubeM in HydroBase_Initial
     {



More information about the Commits mailing list