[Commits] [svn:einsteintoolkit] TOVSolver/trunk/ (Rev. 109)

None at einsteintoolkit.org None at einsteintoolkit.org
Sun May 2 22:06:10 CDT 2010


User: bmundim
Date: 2010/05/02 10:06 PM

Modified:
 /trunk/
  configuration.ccl, interface.ccl, param.ccl, schedule.ccl
 /trunk/doc/
  documentation.tex
 /trunk/src/
  external.inc, tov.c

Log:
 file/parameter string replacement from whisky to GRHydro

File Changes:

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

File [modified]: documentation.tex
Delta lines: +1 -1
===================================================================
--- trunk/doc/documentation.tex	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/doc/documentation.tex	2010-05-03 03:06:10 UTC (rev 109)
@@ -332,7 +332,7 @@
 scalar field code) all use the {\tt CalcTmunu} interface.
 
 You also have the possibility to use a parameter
-{\tt whiskytovsolver::TOV\_Separation} to obtain a spacetime consisting
+{\tt GRHydrotovsolver::TOV\_Separation} to obtain a spacetime consisting
 of one TOV-system for $x>0$ and a second (similar) for $x<0$. This parameter
 sets the separation of the centers of two neutron stars, has to be positive
 and should be larger than twice the radius of one star.\\

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

File [modified]: external.inc
Delta lines: +19 -19
===================================================================
--- trunk/src/external.inc	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/src/external.inc	2010-05-03 03:06:10 UTC (rev 109)
@@ -372,45 +372,45 @@
 
   CCTK_INFO("Rescaling Sources");
 
-  /* get Whisky variables */
+  /* get GRHydro variables */
   rho      =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "HydroBase::rho");
   press    =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "HydroBase::press");
   eps      =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "HydroBase::eps");
-  dens     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "Whisky::dens");
-  tau      =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "Whisky::tau");
-  w_lorentz=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "Whisky::w_lorentz");
+  dens     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "GRHydro::dens");
+  tau      =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "GRHydro::tau");
+  w_lorentz=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "GRHydro::w_lorentz");
   vel0     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "HydroBase::vel[0]");
   vel1     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "HydroBase::vel[1]");
   vel2     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "HydroBase::vel[2]");
-  scon0       =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "Whisky::scon[0]");
-  scon1       =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "Whisky::scon[1]");
-  scon2       =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "Whisky::scon[2]");
+  scon0       =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "GRHydro::scon[0]");
+  scon1       =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "GRHydro::scon[1]");
+  scon2       =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 0, "GRHydro::scon[2]");
 
   rho_p    =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "HydroBase::rho");
   press_p  =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "HydroBase::press");
   eps_p    =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "HydroBase::eps");
-  dens_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "Whisky::dens");
-  tau_p    =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "Whisky::tau");
-  w_lorentz_p=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "Whisky::w_lorentz");
+  dens_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "GRHydro::dens");
+  tau_p    =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "GRHydro::tau");
+  w_lorentz_p=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "GRHydro::w_lorentz");
   vel0_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "HydroBase::vel[0]");
   vel1_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "HydroBase::vel[1]");
   vel2_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "HydroBase::vel[2]");
-  scon0_p     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "Whisky::scon[0]");
-  scon1_p     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "Whisky::scon[1]");
-  scon2_p     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "Whisky::scon[2]");
+  scon0_p     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "GRHydro::scon[0]");
+  scon1_p     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "GRHydro::scon[1]");
+  scon2_p     =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 1, "GRHydro::scon[2]");
 
   rho_p_p  =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "HydroBase::rho");
   press_p_p=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "HydroBase::press");
   eps_p_p  =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "HydroBase::eps");
-  dens_p_p =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "Whisky::dens");
-  tau_p_p  =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "Whisky::tau");
-  w_lorentz_p_p=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "Whisky::w_lorentz");
+  dens_p_p =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "GRHydro::dens");
+  tau_p_p  =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "GRHydro::tau");
+  w_lorentz_p_p=(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "GRHydro::w_lorentz");
   vel0_p_p =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "HydroBase::vel[0]");
   vel1_p_p =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "HydroBase::vel[1]");
   vel2_p_p =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "HydroBase::vel[2]");
-  scon0_p_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "Whisky::scon[0]");
-  scon1_p_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "Whisky::scon[1]");
-  scon2_p_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "Whisky::scon[2]");
+  scon0_p_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "GRHydro::scon[0]");
+  scon1_p_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "GRHydro::scon[1]");
+  scon2_p_p   =(CCTK_REAL*)CCTK_VarDataPtr(cctkGH, 2, "GRHydro::scon[2]");
 
   /* get u */
   u=calloc(size, sizeof(CCTK_REAL));

File [modified]: tov.c
Delta lines: +2 -2
===================================================================
--- trunk/src/tov.c	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/src/tov.c	2010-05-03 03:06:10 UTC (rev 109)
@@ -219,8 +219,8 @@
     star_i = star * TOV_Num_Radial;
 
     /* check for parameters */
-    if ((TOV_Rho_Central[star]==0.0) && (whisky_rho_central>0.0))
-      rho_central=whisky_rho_central;
+    if ((TOV_Rho_Central[star]==0.0) && (GRHydro_rho_central>0.0))
+      rho_central=GRHydro_rho_central;
     else
       rho_central=TOV_Rho_Central[star];
 

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

File [modified]: configuration.ccl
Delta lines: +1 -1
===================================================================
--- trunk/configuration.ccl	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/configuration.ccl	2010-05-03 03:06:10 UTC (rev 109)
@@ -1,4 +1,4 @@
-# Configuration definition for thorn Whisky
+# Configuration definition for thorn GRHydro
 
 REQUIRES THORNS: Boundary CartGrid3D SpaceMask
 

File [modified]: interface.ccl
Delta lines: +1 -1
===================================================================
--- trunk/interface.ccl	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/interface.ccl	2010-05-03 03:06:10 UTC (rev 109)
@@ -1,7 +1,7 @@
 # Interface definition for thorn TOVSolver
 
 implements: TOVSolver
-inherits: Whisky, Constants
+inherits: GRHydro, Constants
 
 USES INCLUDE: constants.h
 

File [modified]: param.ccl
Delta lines: +2 -2
===================================================================
--- trunk/param.ccl	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/param.ccl	2010-05-03 03:06:10 UTC (rev 109)
@@ -158,12 +158,12 @@
 
 USES KEYWORD conformal_storage
 
-shares:Whisky
+shares:GRHydro
 
 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
-USES real whisky_rho_central
+USES real GRHydro_rho_central
 

File [modified]: schedule.ccl
Delta lines: +1 -1
===================================================================
--- trunk/schedule.ccl	2010-04-28 20:30:56 UTC (rev 108)
+++ trunk/schedule.ccl	2010-05-03 03:06:10 UTC (rev 109)
@@ -75,7 +75,7 @@
   {
     LANG: C
   } "prepare for fake evolution"
-  schedule TOV_C_Exact IN MoL_PostStep AFTER Whisky_PostStep
+  schedule TOV_C_Exact IN MoL_PostStep AFTER GRHydro_PostStep
   {
     LANG: C
   } "use fake evolution"



More information about the Commits mailing list