Skip to content

Commit

Permalink
Re-running Kranc for ET_2020_05
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrbrandt committed May 14, 2020
1 parent f1619f3 commit 3a323f6
Show file tree
Hide file tree
Showing 60 changed files with 308 additions and 104 deletions.
7 changes: 4 additions & 3 deletions GaugeWave/interface.ccl
Expand Up @@ -2,12 +2,13 @@

implements: GaugeWave

inherits: admbase GenericFD Grid
inherits: admbase Boundary GenericFD Grid



USES INCLUDE: loopcontrol.h
USES INCLUDE: Symmetry.h
USES INCLUDE: Boundary.h

CCTK_INT FUNCTION MoLRegisterEvolved(CCTK_INT IN EvolvedIndex, CCTK_INT IN RHSIndex)
USES FUNCTION MoLRegisterEvolved
Expand All @@ -30,10 +31,10 @@ USES FUNCTION MultiPatch_GetBoundarySpecification
CCTK_INT FUNCTION SymmetryTableHandleForGrid(CCTK_POINTER_TO_CONST IN cctkGH)
USES FUNCTION SymmetryTableHandleForGrid

CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN Carpet_width, CCTK_INT IN table_handle, CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectGroupForBC

CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN Carpet_width, CCTK_INT IN table_handle, CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectVarForBC

public:
Expand Down
1 change: 1 addition & 0 deletions GaugeWave/param.ccl
@@ -1,5 +1,6 @@
# File produced by Kranc


shares: ADMBase


Expand Down
7 changes: 3 additions & 4 deletions GaugeWave/schedule.ccl
Expand Up @@ -128,10 +128,6 @@ schedule GaugeWave_SelectBoundConds in MoL_PostStep
OPTIONS: level
} "select boundary conditions"

schedule group ApplyBCs as GaugeWave_ApplyBCs in MoL_PostStep after GaugeWave_SelectBoundConds
{
} "Apply boundary conditions controlled by thorn Boundary"

schedule GaugeWave_CheckBoundaries at BASEGRID
{
LANG: C
Expand All @@ -149,3 +145,6 @@ schedule GaugeWave_ParamCheck at PARAMCHECK
LANG: C
OPTIONS: global
} "Check parameter consistency"
schedule group ApplyBCs as GaugeWave_ApplyBCs in MoL_PostStep after GaugeWave_SelectBoundConds
{
} "Apply boundary conditions controlled by thorn Boundary"
12 changes: 10 additions & 2 deletions GaugeWave/src/Boundaries.cc
Expand Up @@ -19,15 +19,23 @@

extern "C" void GaugeWave_CheckBoundaries(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_CheckBoundaries;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_CheckBoundaries
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_CheckBoundaries);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

return;
}

extern "C" void GaugeWave_SelectBoundConds(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_SelectBoundConds;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_SelectBoundConds
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_SelectBoundConds);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0;
Expand Down
8 changes: 6 additions & 2 deletions GaugeWave/src/GaugeWave_always.cc
Expand Up @@ -20,7 +20,7 @@ namespace GaugeWave {

static void GaugeWave_always_Body(const cGH* restrict const cctkGH, const int dir, const int face, const CCTK_REAL normal[3], const CCTK_REAL tangentA[3], const CCTK_REAL tangentB[3], const int imin[3], const int imax[3], const int n_subblock_gfs, CCTK_REAL* restrict const subblock_gfs[])
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_always;
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;

/* Include user-supplied include files */
Expand Down Expand Up @@ -2020,7 +2020,11 @@ static void GaugeWave_always_Body(const cGH* restrict const cctkGH, const int di
}
extern "C" void GaugeWave_always(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_always;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_always
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_always);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (verbose > 1)
Expand Down
8 changes: 6 additions & 2 deletions GaugeWave/src/GaugeWave_exact.cc
Expand Up @@ -20,7 +20,7 @@ namespace GaugeWave {

static void GaugeWave_exact_Body(const cGH* restrict const cctkGH, const int dir, const int face, const CCTK_REAL normal[3], const CCTK_REAL tangentA[3], const CCTK_REAL tangentB[3], const int imin[3], const int imax[3], const int n_subblock_gfs, CCTK_REAL* restrict const subblock_gfs[])
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_exact;
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;

/* Include user-supplied include files */
Expand Down Expand Up @@ -2066,7 +2066,11 @@ static void GaugeWave_exact_Body(const cGH* restrict const cctkGH, const int dir
}
extern "C" void GaugeWave_exact(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_exact;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_exact
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_exact);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (verbose > 1)
Expand Down
8 changes: 6 additions & 2 deletions GaugeWave/src/GaugeWave_initial.cc
Expand Up @@ -20,7 +20,7 @@ namespace GaugeWave {

static void GaugeWave_initial_Body(const cGH* restrict const cctkGH, const int dir, const int face, const CCTK_REAL normal[3], const CCTK_REAL tangentA[3], const CCTK_REAL tangentB[3], const int imin[3], const int imax[3], const int n_subblock_gfs, CCTK_REAL* restrict const subblock_gfs[])
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_initial;
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;

/* Include user-supplied include files */
Expand Down Expand Up @@ -2020,7 +2020,11 @@ static void GaugeWave_initial_Body(const cGH* restrict const cctkGH, const int d
}
extern "C" void GaugeWave_initial(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_initial;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_initial
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_initial);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (verbose > 1)
Expand Down
6 changes: 5 additions & 1 deletion GaugeWave/src/ParamCheck.cc
Expand Up @@ -3,7 +3,11 @@
#include "cctk_Parameters.h"
extern "C" void GaugeWave_ParamCheck(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_ParamCheck;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_ParamCheck
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_ParamCheck);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (CCTK_MyProc(cctkGH) == 0)
Expand Down
6 changes: 5 additions & 1 deletion GaugeWave/src/RegisterMoL.cc
Expand Up @@ -6,7 +6,11 @@

extern "C" void GaugeWave_RegisterVars(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_RegisterVars;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_RegisterVars
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_RegisterVars);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0;
Expand Down
6 changes: 5 additions & 1 deletion GaugeWave/src/RegisterSymmetries.cc
Expand Up @@ -7,7 +7,11 @@

extern "C" void GaugeWave_RegisterSymmetries(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_GaugeWave_RegisterSymmetries;
#ifdef DECLARE_CCTK_ARGUMENTS_GaugeWave_RegisterSymmetries
DECLARE_CCTK_ARGUMENTS_CHECKED(GaugeWave_RegisterSymmetries);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

/* array holding symmetry definitions */
Expand Down
7 changes: 4 additions & 3 deletions KerrSchild/interface.ccl
Expand Up @@ -2,12 +2,13 @@

implements: KerrSchild

inherits: admbase GenericFD Grid
inherits: admbase Boundary GenericFD Grid



USES INCLUDE: loopcontrol.h
USES INCLUDE: Symmetry.h
USES INCLUDE: Boundary.h

CCTK_INT FUNCTION MoLRegisterEvolved(CCTK_INT IN EvolvedIndex, CCTK_INT IN RHSIndex)
USES FUNCTION MoLRegisterEvolved
Expand All @@ -30,10 +31,10 @@ USES FUNCTION MultiPatch_GetBoundarySpecification
CCTK_INT FUNCTION SymmetryTableHandleForGrid(CCTK_POINTER_TO_CONST IN cctkGH)
USES FUNCTION SymmetryTableHandleForGrid

CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN Carpet_width, CCTK_INT IN table_handle, CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectGroupForBC

CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN Carpet_width, CCTK_INT IN table_handle, CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectVarForBC

public:
Expand Down
1 change: 1 addition & 0 deletions KerrSchild/param.ccl
@@ -1,5 +1,6 @@
# File produced by Kranc


shares: ADMBase


Expand Down
7 changes: 3 additions & 4 deletions KerrSchild/schedule.ccl
Expand Up @@ -128,10 +128,6 @@ schedule KerrSchild_SelectBoundConds in MoL_PostStep
OPTIONS: level
} "select boundary conditions"

schedule group ApplyBCs as KerrSchild_ApplyBCs in MoL_PostStep after KerrSchild_SelectBoundConds
{
} "Apply boundary conditions controlled by thorn Boundary"

schedule KerrSchild_CheckBoundaries at BASEGRID
{
LANG: C
Expand All @@ -149,3 +145,6 @@ schedule KerrSchild_ParamCheck at PARAMCHECK
LANG: C
OPTIONS: global
} "Check parameter consistency"
schedule group ApplyBCs as KerrSchild_ApplyBCs in MoL_PostStep after KerrSchild_SelectBoundConds
{
} "Apply boundary conditions controlled by thorn Boundary"
12 changes: 10 additions & 2 deletions KerrSchild/src/Boundaries.cc
Expand Up @@ -19,15 +19,23 @@

extern "C" void KerrSchild_CheckBoundaries(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_CheckBoundaries;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_CheckBoundaries
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_CheckBoundaries);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

return;
}

extern "C" void KerrSchild_SelectBoundConds(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_SelectBoundConds;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_SelectBoundConds
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_SelectBoundConds);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0;
Expand Down
8 changes: 6 additions & 2 deletions KerrSchild/src/KerrSchild_always.cc
Expand Up @@ -20,7 +20,7 @@ namespace KerrSchild {

static void KerrSchild_always_Body(const cGH* restrict const cctkGH, const int dir, const int face, const CCTK_REAL normal[3], const CCTK_REAL tangentA[3], const CCTK_REAL tangentB[3], const int imin[3], const int imax[3], const int n_subblock_gfs, CCTK_REAL* restrict const subblock_gfs[])
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_always;
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;

/* Include user-supplied include files */
Expand Down Expand Up @@ -2316,7 +2316,11 @@ static void KerrSchild_always_Body(const cGH* restrict const cctkGH, const int d
}
extern "C" void KerrSchild_always(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_always;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_always
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_always);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (verbose > 1)
Expand Down
8 changes: 6 additions & 2 deletions KerrSchild/src/KerrSchild_exact.cc
Expand Up @@ -20,7 +20,7 @@ namespace KerrSchild {

static void KerrSchild_exact_Body(const cGH* restrict const cctkGH, const int dir, const int face, const CCTK_REAL normal[3], const CCTK_REAL tangentA[3], const CCTK_REAL tangentB[3], const int imin[3], const int imax[3], const int n_subblock_gfs, CCTK_REAL* restrict const subblock_gfs[])
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_exact;
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;

/* Include user-supplied include files */
Expand Down Expand Up @@ -2362,7 +2362,11 @@ static void KerrSchild_exact_Body(const cGH* restrict const cctkGH, const int di
}
extern "C" void KerrSchild_exact(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_exact;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_exact
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_exact);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (verbose > 1)
Expand Down
8 changes: 6 additions & 2 deletions KerrSchild/src/KerrSchild_initial.cc
Expand Up @@ -20,7 +20,7 @@ namespace KerrSchild {

static void KerrSchild_initial_Body(const cGH* restrict const cctkGH, const int dir, const int face, const CCTK_REAL normal[3], const CCTK_REAL tangentA[3], const CCTK_REAL tangentB[3], const int imin[3], const int imax[3], const int n_subblock_gfs, CCTK_REAL* restrict const subblock_gfs[])
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_initial;
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;

/* Include user-supplied include files */
Expand Down Expand Up @@ -2316,7 +2316,11 @@ static void KerrSchild_initial_Body(const cGH* restrict const cctkGH, const int
}
extern "C" void KerrSchild_initial(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_initial;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_initial
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_initial);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (verbose > 1)
Expand Down
6 changes: 5 additions & 1 deletion KerrSchild/src/ParamCheck.cc
Expand Up @@ -3,7 +3,11 @@
#include "cctk_Parameters.h"
extern "C" void KerrSchild_ParamCheck(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_ParamCheck;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_ParamCheck
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_ParamCheck);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

if (CCTK_MyProc(cctkGH) == 0)
Expand Down
6 changes: 5 additions & 1 deletion KerrSchild/src/RegisterMoL.cc
Expand Up @@ -6,7 +6,11 @@

extern "C" void KerrSchild_RegisterVars(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_RegisterVars;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_RegisterVars
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_RegisterVars);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0;
Expand Down
6 changes: 5 additions & 1 deletion KerrSchild/src/RegisterSymmetries.cc
Expand Up @@ -7,7 +7,11 @@

extern "C" void KerrSchild_RegisterSymmetries(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS_KerrSchild_RegisterSymmetries;
#ifdef DECLARE_CCTK_ARGUMENTS_KerrSchild_RegisterSymmetries
DECLARE_CCTK_ARGUMENTS_CHECKED(KerrSchild_RegisterSymmetries);
#else
DECLARE_CCTK_ARGUMENTS;
#endif
DECLARE_CCTK_PARAMETERS;

/* array holding symmetry definitions */
Expand Down
7 changes: 4 additions & 3 deletions Minkowski/interface.ccl
Expand Up @@ -2,12 +2,13 @@

implements: Minkowski

inherits: admbase GenericFD Grid
inherits: admbase Boundary GenericFD Grid



USES INCLUDE: loopcontrol.h
USES INCLUDE: Symmetry.h
USES INCLUDE: Boundary.h

CCTK_INT FUNCTION MoLRegisterEvolved(CCTK_INT IN EvolvedIndex, CCTK_INT IN RHSIndex)
USES FUNCTION MoLRegisterEvolved
Expand All @@ -30,10 +31,10 @@ USES FUNCTION MultiPatch_GetBoundarySpecification
CCTK_INT FUNCTION SymmetryTableHandleForGrid(CCTK_POINTER_TO_CONST IN cctkGH)
USES FUNCTION SymmetryTableHandleForGrid

CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN Carpet_width, CCTK_INT IN table_handle, CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectGroupForBC

CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN Carpet_width, CCTK_INT IN table_handle, CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectVarForBC

public:
Expand Down

0 comments on commit 3a323f6

Please sign in to comment.