From c14ee6f3d20ffb6e9099de25f03a5c2f49544dab Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 3 Jan 2011 21:01:50 -0500 Subject: Re-generate code --- ML_WaveToy/param.ccl | 57 ++++++++++++++++++++------------------------ ML_WaveToy/schedule.ccl | 2 +- ML_WaveToy/src/WT_Gaussian.c | 3 --- ML_WaveToy/src/WT_RHS.c | 3 --- 4 files changed, 27 insertions(+), 38 deletions(-) (limited to 'ML_WaveToy') diff --git a/ML_WaveToy/param.ccl b/ML_WaveToy/param.ccl index d1d9c37..163ee12 100644 --- a/ML_WaveToy/param.ccl +++ b/ML_WaveToy/param.ccl @@ -3,11 +3,6 @@ shares: GenericFD -USES CCTK_INT stencil_width -USES CCTK_INT stencil_width_x -USES CCTK_INT stencil_width_y -USES CCTK_INT stencil_width_z -USES CCTK_INT boundary_width shares: MethodOfLines @@ -15,55 +10,55 @@ shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars restricted: -CCTK_INT verbose "verbose" +CCTK_INT verbose "verbose" STEERABLE=ALWAYS { *:* :: "" } 0 restricted: -CCTK_INT ML_WaveToy_MaxNumEvolvedVars "Number of evolved variables used by this thorn" ACCUMULATOR-BASE=MethodofLines::MoL_Num_Evolved_Vars +CCTK_INT ML_WaveToy_MaxNumEvolvedVars "Number of evolved variables used by this thorn" ACCUMULATOR-BASE=MethodofLines::MoL_Num_Evolved_Vars STEERABLE=RECOVER { 2:2 :: "Number of evolved variables used by this thorn" } 2 restricted: -CCTK_INT timelevels "Number of active timelevels" +CCTK_INT timelevels "Number of active timelevels" STEERABLE=RECOVER { 0:2 :: "" } 2 restricted: -CCTK_INT rhs_timelevels "Number of active RHS timelevels" +CCTK_INT rhs_timelevels "Number of active RHS timelevels" STEERABLE=RECOVER { 0:2 :: "" } 1 restricted: -CCTK_INT WT_Gaussian_calc_every "WT_Gaussian_calc_every" +CCTK_INT WT_Gaussian_calc_every "WT_Gaussian_calc_every" STEERABLE=ALWAYS { *:* :: "" } 1 restricted: -CCTK_INT WT_RHS_calc_every "WT_RHS_calc_every" +CCTK_INT WT_RHS_calc_every "WT_RHS_calc_every" STEERABLE=ALWAYS { *:* :: "" } 1 restricted: -CCTK_INT WT_Gaussian_calc_offset "WT_Gaussian_calc_offset" +CCTK_INT WT_Gaussian_calc_offset "WT_Gaussian_calc_offset" STEERABLE=ALWAYS { *:* :: "" } 0 restricted: -CCTK_INT WT_RHS_calc_offset "WT_RHS_calc_offset" +CCTK_INT WT_RHS_calc_offset "WT_RHS_calc_offset" STEERABLE=ALWAYS { *:* :: "" } 0 private: -KEYWORD rho_bound "Boundary condition to implement" +KEYWORD rho_bound "Boundary condition to implement" STEERABLE=ALWAYS { "flat" :: "Flat boundary condition" "none" :: "No boundary condition" @@ -75,7 +70,7 @@ KEYWORD rho_bound "Boundary condition to implement" } "skip" private: -KEYWORD u_bound "Boundary condition to implement" +KEYWORD u_bound "Boundary condition to implement" STEERABLE=ALWAYS { "flat" :: "Flat boundary condition" "none" :: "No boundary condition" @@ -87,7 +82,7 @@ KEYWORD u_bound "Boundary condition to implement" } "skip" private: -KEYWORD WT_rho_bound "Boundary condition to implement" +KEYWORD WT_rho_bound "Boundary condition to implement" STEERABLE=ALWAYS { "flat" :: "Flat boundary condition" "none" :: "No boundary condition" @@ -96,10 +91,10 @@ KEYWORD WT_rho_bound "Boundary condition to implement" "scalar" :: "Dirichlet boundary condition" "newrad" :: "Improved radiative boundary condition" "skip" :: "skip boundary condition code" -} "none" +} "skip" private: -KEYWORD WT_u_bound "Boundary condition to implement" +KEYWORD WT_u_bound "Boundary condition to implement" STEERABLE=ALWAYS { "flat" :: "Flat boundary condition" "none" :: "No boundary condition" @@ -108,76 +103,76 @@ KEYWORD WT_u_bound "Boundary condition to implement" "scalar" :: "Dirichlet boundary condition" "newrad" :: "Improved radiative boundary condition" "skip" :: "skip boundary condition code" -} "none" +} "skip" private: -CCTK_REAL rho_bound_speed "characteristic speed at boundary" +CCTK_REAL rho_bound_speed "characteristic speed at boundary" STEERABLE=ALWAYS { "0:*" :: "outgoing characteristic speed > 0" } 1. private: -CCTK_REAL u_bound_speed "characteristic speed at boundary" +CCTK_REAL u_bound_speed "characteristic speed at boundary" STEERABLE=ALWAYS { "0:*" :: "outgoing characteristic speed > 0" } 1. private: -CCTK_REAL WT_rho_bound_speed "characteristic speed at boundary" +CCTK_REAL WT_rho_bound_speed "characteristic speed at boundary" STEERABLE=ALWAYS { "0:*" :: "outgoing characteristic speed > 0" } 1. private: -CCTK_REAL WT_u_bound_speed "characteristic speed at boundary" +CCTK_REAL WT_u_bound_speed "characteristic speed at boundary" STEERABLE=ALWAYS { "0:*" :: "outgoing characteristic speed > 0" } 1. private: -CCTK_REAL rho_bound_limit "limit value for r -> infinity" +CCTK_REAL rho_bound_limit "limit value for r -> infinity" STEERABLE=ALWAYS { "*:*" :: "value of limit value is unrestricted" } 0. private: -CCTK_REAL u_bound_limit "limit value for r -> infinity" +CCTK_REAL u_bound_limit "limit value for r -> infinity" STEERABLE=ALWAYS { "*:*" :: "value of limit value is unrestricted" } 0. private: -CCTK_REAL WT_rho_bound_limit "limit value for r -> infinity" +CCTK_REAL WT_rho_bound_limit "limit value for r -> infinity" STEERABLE=ALWAYS { "*:*" :: "value of limit value is unrestricted" } 0. private: -CCTK_REAL WT_u_bound_limit "limit value for r -> infinity" +CCTK_REAL WT_u_bound_limit "limit value for r -> infinity" STEERABLE=ALWAYS { "*:*" :: "value of limit value is unrestricted" } 0. private: -CCTK_REAL rho_bound_scalar "Dirichlet boundary value" +CCTK_REAL rho_bound_scalar "Dirichlet boundary value" STEERABLE=ALWAYS { "*:*" :: "unrestricted" } 0. private: -CCTK_REAL u_bound_scalar "Dirichlet boundary value" +CCTK_REAL u_bound_scalar "Dirichlet boundary value" STEERABLE=ALWAYS { "*:*" :: "unrestricted" } 0. private: -CCTK_REAL WT_rho_bound_scalar "Dirichlet boundary value" +CCTK_REAL WT_rho_bound_scalar "Dirichlet boundary value" STEERABLE=ALWAYS { "*:*" :: "unrestricted" } 0. private: -CCTK_REAL WT_u_bound_scalar "Dirichlet boundary value" +CCTK_REAL WT_u_bound_scalar "Dirichlet boundary value" STEERABLE=ALWAYS { "*:*" :: "unrestricted" } 0. diff --git a/ML_WaveToy/schedule.ccl b/ML_WaveToy/schedule.ccl index 9517af0..883a31b 100644 --- a/ML_WaveToy/schedule.ccl +++ b/ML_WaveToy/schedule.ccl @@ -86,7 +86,7 @@ schedule ML_WaveToy_CheckBoundaries at BASEGRID OPTIONS: meta } "check boundaries treatment" -schedule group ApplyBCs as ML_WaveToy_ApplyBCs in MoL_PostStep after ML_WaveToy_SelectBoundConds +schedule group ApplyBCs as ML_WaveToy_ApplyBCs in MoL_PostStep after ML_WaveToy_SelectBoundConds { # no language specified } "Apply boundary conditions controlled by thorn Boundary" diff --git a/ML_WaveToy/src/WT_Gaussian.c b/ML_WaveToy/src/WT_Gaussian.c index c077bcd..39a2d41 100644 --- a/ML_WaveToy/src/WT_Gaussian.c +++ b/ML_WaveToy/src/WT_Gaussian.c @@ -38,9 +38,6 @@ void WT_Gaussian_Body(cGH const * restrict const cctkGH, int const dir, int cons return; } - const char *groups[] = {"ML_WaveToy::WT_rho","ML_WaveToy::WT_u"}; - GenericFD_AssertGroupStorage(cctkGH, "WT_Gaussian", 2, groups); - /* Include user-supplied include files */ /* Initialise finite differencing variables */ diff --git a/ML_WaveToy/src/WT_RHS.c b/ML_WaveToy/src/WT_RHS.c index 3ae268d..35cdb5c 100644 --- a/ML_WaveToy/src/WT_RHS.c +++ b/ML_WaveToy/src/WT_RHS.c @@ -53,9 +53,6 @@ void WT_RHS_Body(cGH const * restrict const cctkGH, int const dir, int const fac return; } - const char *groups[] = {"ML_WaveToy::WT_rho","ML_WaveToy::WT_rhorhs","ML_WaveToy::WT_u","ML_WaveToy::WT_urhs"}; - GenericFD_AssertGroupStorage(cctkGH, "WT_RHS", 4, groups); - /* Include user-supplied include files */ /* Initialise finite differencing variables */ -- cgit v1.2.3