diff options
author | rhaas <rhaas@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2012-08-02 16:34:52 +0000 |
---|---|---|
committer | rhaas <rhaas@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2012-08-02 16:34:52 +0000 |
commit | 26067015fd74e5079d09a589fc3bab9e7fd13f22 (patch) | |
tree | a3939c89d8d4643ebf529722c1edfc8b8cbbe2a6 /src/Startup.c | |
parent | 7923fe9d90ae7b78450708403bd7d451e0227d15 (diff) |
MoL: add Multirate capabilities. This add three new multirate RK schemes to MoL.
Flags indicate whether it is time to execute slow RHS computation.
For instance, in the RK4-RK2 scheme, there are 4 substeps in total, but the RK2 RHS are only evaluated in the very first and in the very last step of the four substeps.
From: Christian Reisswig, minor changes by Roland Haas
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@175 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c index 06ae44d..e5a2d5e 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -26,11 +26,14 @@ CCTK_FILEVERSION(CactusBase_MoL_Startup_c); ********************************************************************/ CCTK_INT *EvolvedVariableIndex = NULL; +CCTK_INT *EvolvedVariableIndexSlow = NULL; CCTK_INT *RHSVariableIndex = NULL; +CCTK_INT *RHSVariableIndexSlow = NULL; CCTK_INT *ConstrainedVariableIndex = NULL; CCTK_INT *SandRVariableIndex = NULL; CCTK_INT MoLNumEvolvedVariables = 0; +CCTK_INT MoLNumEvolvedVariablesSlow = 0; CCTK_INT MoLNumConstrainedVariables = 0; CCTK_INT MoLNumSandRVariables = 0; |