[Commits] [svn:einsteintoolkit] GRHydro/branches/hot_and_MHD_temp_dev/ (Rev. 184)
cott at tapir.caltech.edu
cott at tapir.caltech.edu
Thu Nov 25 11:59:25 CST 2010
User: cott
Date: 2010/11/25 11:59 AM
Modified:
/branches/hot_and_MHD_temp_dev/
param.ccl
/branches/hot_and_MHD_temp_dev/src/
GRHydro_RegisterVars.cc
Log:
* small fixes to get around scheduling issue
File Changes:
Directory: /branches/hot_and_MHD_temp_dev/
==========================================
File [modified]: param.ccl
Delta lines: +1 -1
===================================================================
--- branches/hot_and_MHD_temp_dev/param.ccl 2010-11-25 17:59:06 UTC (rev 183)
+++ branches/hot_and_MHD_temp_dev/param.ccl 2010-11-25 17:59:25 UTC (rev 184)
@@ -82,7 +82,7 @@
CCTK_INT GRHydro_MaxNumConstrainedVars "The maximum number of constrained variables used by GRHydro" ACCUMULATOR-BASE=MethodofLines::MoL_Num_Constrained_Vars
{
7:15 :: "A small range, depending on testing or not"
-} 8
+} 9
CCTK_INT GRHydro_MaxNumSandRVars "The maximum number of save and restore variables used by GRHydro" ACCUMULATOR-BASE=MethodofLines::MoL_Num_SaveAndRestore_Vars
{
Directory: /branches/hot_and_MHD_temp_dev/src/
==============================================
File [modified]: GRHydro_RegisterVars.cc
Delta lines: +7 -3
===================================================================
--- branches/hot_and_MHD_temp_dev/src/GRHydro_RegisterVars.cc 2010-11-25 17:59:06 UTC (rev 183)
+++ branches/hot_and_MHD_temp_dev/src/GRHydro_RegisterVars.cc 2010-11-25 17:59:25 UTC (rev 184)
@@ -92,13 +92,17 @@
if (evolve_tracer != 0)
register_evolved("GRHydro::GRHydro_cons_tracers",
"GRHydro::GRHydro_tracer_rhs");
-
- if (evolve_Y_e!=0)
+
+ // note that we set in pararamcheck
+ // evolve_y_e and evolve_temper, but MoLRegister
+ // happens before paramcheck...
+ if (CCTK_EQUALS(Y_e_evolution_method,"GRHydro")) {
register_constrained("HydroBase::Y_e");
register_evolved("GRHydro::Y_e_con",
"GRHydro::Y_e_con_rhs");
+ }
- if (evolve_temper!=0) {
+ if (CCTK_EQUALS(temperature_evolution_method,"GRHydro")) {
register_constrained("HydroBase::temperature");
register_constrained("HydroBase::entropy");
}
More information about the Commits
mailing list