From 662879ce678f70c4da767733a3833ebbed5e011a Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 2 May 2012 13:56:05 -0400 Subject: Regenerate code --- ML_CCZ4_Helper/src/NewRad.c | 9 +++++++++ ML_CCZ4_Helper/src/SetGroupTags.c | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'ML_CCZ4_Helper') diff --git a/ML_CCZ4_Helper/src/NewRad.c b/ML_CCZ4_Helper/src/NewRad.c index 20dffa5..bce30e4 100644 --- a/ML_CCZ4_Helper/src/NewRad.c +++ b/ML_CCZ4_Helper/src/NewRad.c @@ -4,6 +4,11 @@ #include #include +#define THORN_ML_CCZ4 // "ML_CCZ4" will be replaced +#ifdef THORN_ML_CCZ4 +# define HAVE_THETA +#endif + static void newrad (cGH const * restrict cctkGH, CCTK_REAL const * restrict var, @@ -32,6 +37,10 @@ ML_CCZ4_NewRad (CCTK_ARGUMENTS) newrad (cctkGH, Xt2 , Xt2rhs , 0.0, 1.0); newrad (cctkGH, Xt3 , Xt3rhs , 0.0, 1.0); +#ifdef HAVE_THETA + newrad (cctkGH, Theta, Thetarhs, 0.0, v0 ); +#endif + newrad (cctkGH, trK , trKrhs , 0.0, v0 ); newrad (cctkGH, At11 , At11rhs , 0.0, 1.0); diff --git a/ML_CCZ4_Helper/src/SetGroupTags.c b/ML_CCZ4_Helper/src/SetGroupTags.c index b2f3105..b273997 100644 --- a/ML_CCZ4_Helper/src/SetGroupTags.c +++ b/ML_CCZ4_Helper/src/SetGroupTags.c @@ -4,6 +4,11 @@ #include +#define THORN_ML_CCZ4 // "ML_CCZ4" will be replaced +#ifdef THORN_ML_CCZ4 +# define HAVE_THETA +#endif + static void set_group_tags (int const checkpoint, int const persistent, @@ -33,6 +38,10 @@ ML_CCZ4_SetGroupTags (void) set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_log_confacrhs"); set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_metricrhs"); set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_Gammarhs"); + +#ifdef HAVE_THETA + set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_Thetarhs"); +#endif set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_trace_curvrhs"); set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_curvrhs"); set_group_tags (rhs_checkpoint, rhs_checkpoint, 0, "ML_CCZ4::ML_lapserhs"); -- cgit v1.2.3