forked from EinsteinToolkit/CarpetX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subcycling: use CarpetX par use_subcycling_wip
- Loading branch information
Showing
3 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
# Parameter definitions for thorn Subcycling | ||
|
||
SHARES: CarpetX | ||
|
||
USES BOOLEAN use_subcycling_wip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
# Schedule definitions for thorn Subcycling | ||
|
||
SCHEDULE GROUP Subcycling_RMBndryGroup AT initial | ||
{ | ||
} "Check if the ghost points are at refinement boundary" | ||
if(use_subcycling_wip) { | ||
SCHEDULE GROUP Subcycling_RMBndryGroup AT initial | ||
{ | ||
} "Check if the ghost points are at refinement boundary" | ||
|
||
SCHEDULE GROUP Subcycling_RMBndryGroup AT postregrid | ||
{ | ||
} "Check if the ghost points are at refinement boundary" | ||
SCHEDULE GROUP Subcycling_RMBndryGroup AT postregrid | ||
{ | ||
} "Check if the ghost points are at refinement boundary" | ||
|
||
SCHEDULE Subcycling_SetLevelNeighbor IN Subcycling_RMBndryGroup | ||
{ | ||
LANG: C | ||
WRITES: level_neighbor(interior) | ||
SYNC: level_neighbor | ||
} "Set level_neighbor" | ||
SCHEDULE Subcycling_SetLevelNeighbor IN Subcycling_RMBndryGroup | ||
{ | ||
LANG: C | ||
WRITES: level_neighbor(interior) | ||
SYNC: level_neighbor | ||
} "Set level_neighbor" | ||
|
||
SCHEDULE Subcycling_SetIsRMBndry IN Subcycling_RMBndryGroup AFTER Subcycling_SetLevelNeighbor | ||
{ | ||
LANG: C | ||
READS: level_neighbor(everywhere) | ||
WRITES: isrmbndry(everywhere) | ||
} "Set isrmbndry" | ||
SCHEDULE Subcycling_SetIsRMBndry IN Subcycling_RMBndryGroup AFTER Subcycling_SetLevelNeighbor | ||
{ | ||
LANG: C | ||
READS: level_neighbor(everywhere) | ||
WRITES: isrmbndry(everywhere) | ||
} "Set isrmbndry" | ||
} |