diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-09-25 12:15:04 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-09-25 12:15:04 -0400 |
commit | bc08df460473e83129b972eed6472bc99b14de5e (patch) | |
tree | e28e26b27352c2f2cb9c2e0c0ee79024c73593f5 /Carpet/Carpet/src/variables.hh | |
parent | d37f25ab50b6155026196665c502864e9696dd5b (diff) |
Carpet: Introduce parameter max_time_levels
This parameter defines the maximum number of time levels that a variable can have when being used for time prolongation. This allows using more time levels than prolongation_order_time+1.
Diffstat (limited to 'Carpet/Carpet/src/variables.hh')
-rw-r--r-- | Carpet/Carpet/src/variables.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/variables.hh b/Carpet/Carpet/src/variables.hh index 235874ada..7ae178108 100644 --- a/Carpet/Carpet/src/variables.hh +++ b/Carpet/Carpet/src/variables.hh @@ -47,6 +47,12 @@ namespace Carpet { // Maximum number of refinement levels extern int maxreflevels; + // Maximum number of time levels + extern int maxtimelevels; + + // Timelevels + extern int timelevels; + // Refinement levels extern int reflevels; @@ -76,9 +82,6 @@ namespace Carpet { // Maps extern int maps; - // Timelevels - extern int timelevels; - // Current position on the grid hierarchy |