From c105d922831929900a9e14148aba83a054cf796a Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 5 Nov 2003 20:06:13 +0000 Subject: Schedule boundary conditions at postrestrict. git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/WaveToyF77/trunk@104 4451c3c6-1034-4891-99ea-21147727ccdf --- interface.ccl | 2 +- schedule.ccl | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/interface.ccl b/interface.ccl index 914d3b2..d3a3e49 100644 --- a/interface.ccl +++ b/interface.ccl @@ -13,7 +13,7 @@ cctk_real scalarevolve type = GF Timelevels=3 phi } "The evolved scalar field" -CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER IN GH, \ +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 diff --git a/schedule.ccl b/schedule.ccl index 26ded33..78067e6 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -23,7 +23,16 @@ schedule WaveToyF77_Boundaries as WaveToy_Boundaries at EVOL AFTER WaveToy_Evolu { LANG: Fortran } "Boundaries of 3D wave equation" - + schedule GROUP ApplyBCs as WaveToyF7_ApplyBCs at EVOL after WaveToy_Boundaries { } "Apply boundary conditions" + +schedule WaveToyF77_Boundaries as WaveToy_Boundaries at POSTRESTRICT +{ + LANG: Fortran +} "Boundaries of 3D wave equation" + +schedule GROUP ApplyBCs as WaveToyF7_ApplyBCs at POSTRESTRICT after WaveToy_Boundaries +{ +} "Apply boundary conditions" -- cgit v1.2.3