From 314fd5d52fa09e0d5c8b5259f7cf8e25803b4ebd Mon Sep 17 00:00:00 2001 From: Peter Diener Date: Tue, 29 Jan 2008 11:07:09 -0600 Subject: Schedule ML_BSSN_convertToADMBase everywhere. Since ML_BSSN_convertToADMBase doesn't contain any derivatives we can evaluate it everywhere. Get's rid of a sync of the ADMBase variables and makes it unnecessary to apply the boundary conditions (which wasn't done, anyway). Signed-off-by: Peter Diener --- ML_WaveToy/configuration.ccl | 4 ++-- ML_WaveToy/interface.ccl | 4 ++-- ML_WaveToy/param.ccl | 10 ++-------- ML_WaveToy/schedule.ccl | 26 ++++++++------------------ ML_WaveToy/src/Boundaries.c | 4 ++-- ML_WaveToy/src/RegisterMoL.c | 4 ++-- ML_WaveToy/src/RegisterSymmetries.c | 4 ++-- ML_WaveToy/src/Startup.c | 4 ++-- ML_WaveToy/src/WT_Gaussian.c | 4 ++-- ML_WaveToy/src/WT_RHS.c | 4 ++-- ML_WaveToy/src/make.code.defn | 4 ++-- 11 files changed, 28 insertions(+), 44 deletions(-) (limited to 'ML_WaveToy') diff --git a/ML_WaveToy/configuration.ccl b/ML_WaveToy/configuration.ccl index 0374af4..006249a 100644 --- a/ML_WaveToy/configuration.ccl +++ b/ML_WaveToy/configuration.ccl @@ -1,5 +1,5 @@ -# File produced by user eschnett -# Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) +# File produced by user diener +# Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) # Mathematica script written by Ian Hinder and Sascha Husa diff --git a/ML_WaveToy/interface.ccl b/ML_WaveToy/interface.ccl index 515e050..d430f28 100644 --- a/ML_WaveToy/interface.ccl +++ b/ML_WaveToy/interface.ccl @@ -1,5 +1,5 @@ -# File produced by user eschnett -# Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) +# File produced by user diener +# Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) # Mathematica script written by Ian Hinder and Sascha Husa diff --git a/ML_WaveToy/param.ccl b/ML_WaveToy/param.ccl index 36cb15e..1c78773 100644 --- a/ML_WaveToy/param.ccl +++ b/ML_WaveToy/param.ccl @@ -1,5 +1,5 @@ -# File produced by user eschnett -# Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) +# File produced by user diener +# Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) # Mathematica script written by Ian Hinder and Sascha Husa @@ -36,12 +36,6 @@ CCTK_INT ML_WaveToy_MaxNumConstrainedVars "Number of constrained variables used 58:58 :: "Number of constrained variables used by this thorn" } 58 -private: -CCTK_INT timelevels "Number of active timelevels" -{ - 0:2 :: "" -} 2 - restricted: CCTK_INT WT_Gaussian_calc_every "WT_Gaussian_calc_every" { diff --git a/ML_WaveToy/schedule.ccl b/ML_WaveToy/schedule.ccl index b52fd02..3b64fc4 100644 --- a/ML_WaveToy/schedule.ccl +++ b/ML_WaveToy/schedule.ccl @@ -1,5 +1,5 @@ -# File produced by user eschnett -# Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) +# File produced by user diener +# Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) # Mathematica script written by Ian Hinder and Sascha Husa @@ -8,23 +8,9 @@ STORAGE: WT_rhorhs[1] STORAGE: WT_urhs[1] -if (timelevels == 1) -{ - STORAGE: WT_rho[1] -} -if (timelevels == 2) -{ - STORAGE: WT_rho[2] -} +STORAGE: WT_rho[2] -if (timelevels == 1) -{ - STORAGE: WT_u[1] -} -if (timelevels == 2) -{ - STORAGE: WT_u[2] -} +STORAGE: WT_u[2] schedule ML_WaveToy_Startup at STARTUP { @@ -47,16 +33,19 @@ schedule ML_WaveToy_RegisterSymmetries at BASEGRID schedule WT_Gaussian AT initial { LANG: C + } "WT_Gaussian" schedule WT_RHS IN MoL_CalcRHS { LANG: C + } "WT_RHS" schedule WT_RHS AT analysis { LANG: C + SYNC: WT_rhorhs SYNC: WT_urhs } "WT_RHS" @@ -78,4 +67,5 @@ schedule ML_WaveToy_CheckBoundaries at BASEGRID schedule group ApplyBCs as ML_WaveToy_ApplyBCs in MoL_PostStep after ML_WaveToy_ApplyBoundConds { # no language specified + } "Apply boundary conditions controlled by thorn Boundary" diff --git a/ML_WaveToy/src/Boundaries.c b/ML_WaveToy/src/Boundaries.c index 563f55d..e119d69 100644 --- a/ML_WaveToy/src/Boundaries.c +++ b/ML_WaveToy/src/Boundaries.c @@ -1,5 +1,5 @@ -/* File produced by user eschnett */ -/* Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) */ +/* File produced by user diener */ +/* Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) */ /* Mathematica script written by Ian Hinder and Sascha Husa */ diff --git a/ML_WaveToy/src/RegisterMoL.c b/ML_WaveToy/src/RegisterMoL.c index b394a5d..86ccf50 100644 --- a/ML_WaveToy/src/RegisterMoL.c +++ b/ML_WaveToy/src/RegisterMoL.c @@ -1,5 +1,5 @@ -/* File produced by user eschnett */ -/* Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) */ +/* File produced by user diener */ +/* Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) */ /* Mathematica script written by Ian Hinder and Sascha Husa */ diff --git a/ML_WaveToy/src/RegisterSymmetries.c b/ML_WaveToy/src/RegisterSymmetries.c index cf9633e..82a4f12 100644 --- a/ML_WaveToy/src/RegisterSymmetries.c +++ b/ML_WaveToy/src/RegisterSymmetries.c @@ -1,5 +1,5 @@ -/* File produced by user eschnett */ -/* Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) */ +/* File produced by user diener */ +/* Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) */ /* Mathematica script written by Ian Hinder and Sascha Husa */ diff --git a/ML_WaveToy/src/Startup.c b/ML_WaveToy/src/Startup.c index 71be71f..49b9a0b 100644 --- a/ML_WaveToy/src/Startup.c +++ b/ML_WaveToy/src/Startup.c @@ -1,5 +1,5 @@ -/* File produced by user eschnett */ -/* Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) */ +/* File produced by user diener */ +/* Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) */ /* Mathematica script written by Ian Hinder and Sascha Husa */ diff --git a/ML_WaveToy/src/WT_Gaussian.c b/ML_WaveToy/src/WT_Gaussian.c index 5caf9ca..1573a32 100644 --- a/ML_WaveToy/src/WT_Gaussian.c +++ b/ML_WaveToy/src/WT_Gaussian.c @@ -1,5 +1,5 @@ -/* File produced by user eschnett */ -/* Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) */ +/* File produced by user diener */ +/* Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) */ /* Mathematica script written by Ian Hinder and Sascha Husa */ diff --git a/ML_WaveToy/src/WT_RHS.c b/ML_WaveToy/src/WT_RHS.c index 41d3939..2e4e1ee 100644 --- a/ML_WaveToy/src/WT_RHS.c +++ b/ML_WaveToy/src/WT_RHS.c @@ -1,5 +1,5 @@ -/* File produced by user eschnett */ -/* Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) */ +/* File produced by user diener */ +/* Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) */ /* Mathematica script written by Ian Hinder and Sascha Husa */ diff --git a/ML_WaveToy/src/make.code.defn b/ML_WaveToy/src/make.code.defn index 1cd6049..0fa6a98 100644 --- a/ML_WaveToy/src/make.code.defn +++ b/ML_WaveToy/src/make.code.defn @@ -1,5 +1,5 @@ -# File produced by user eschnett -# Produced with Mathematica Version 6.0 for Mac OS X x86 (32-bit) (April 20, 2007) +# File produced by user diener +# Produced with Mathematica Version 6.0 for Linux x86 (32-bit) (April 20, 2007) # Mathematica script written by Ian Hinder and Sascha Husa -- cgit v1.2.3