Skip to content

Commit

Permalink
TestSubcyclingMC: beautify schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Apr 15, 2024
1 parent fe0ea78 commit 1690ef8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion TestSubcyclingMC/schedule.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,16 @@ SCHEDULE TestSubcyclingMC_CalcK4 IN TestSubcyclingMC_RK4Group AFTER TestSubcycli
SYNC: ustate
} "Calculate k4"

SCHEDULE TestSybcyclingMC_Error AT poststep

SCHEDULE GROUP TestSubcyclingMC_PostStepGroup AT postinitial
{
} "Apply boundary conditions to state vector, and project if necessary"

SCHEDULE GROUP TestSubcyclingMC_PostStepGroup AT poststep
{
} "Apply boundary conditions to state vector, and project if necessary"

SCHEDULE TestSubcyclingMC_Error IN TestSubcyclingMC_PostStepGroup
{
LANG: C
READS: ustate(interior)
Expand Down
4 changes: 2 additions & 2 deletions TestSubcyclingMC/src/testsubcyclingmc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ extern "C" void TestSubcyclingMC_Sync(CCTK_ARGUMENTS) {
// do nothing
}

extern "C" void TestSybcyclingMC_Error(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTSX_TestSybcyclingMC_Error;
extern "C" void TestSubcyclingMC_Error(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTSX_TestSubcyclingMC_Error;
DECLARE_CCTK_PARAMETERS;

if (CCTK_EQUALS(initial_condition, "standing wave")) {
Expand Down

0 comments on commit 1690ef8

Please sign in to comment.