aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/variables.cc
diff options
context:
space:
mode:
authorschnetter <>2002-09-25 13:50:00 +0000
committerschnetter <>2002-09-25 13:50:00 +0000
commitfd521f96745506a7e9b6bedd7a54423a1d4b305f (patch)
tree4cf464a26333338ab427f8a095f4065eb0933c7e /Carpet/Carpet/src/variables.cc
parent2fa5508433b6112d92820d72b60eac704eb829fd (diff)
Adapted to the recent changes in CarpetLib.
Adapted to the recent changes in CarpetLib. The current time that is used for boundary prolongation is now cctk_time instead of being taken from the time hierarchy. This allows the user (i.e. the time integrator) to set the current time arbitrarily. darcs-hash:20020925135030-07bb3-4d6e93a79ca9b1eb8a6fcd9e2c58d2a757b23f0e.gz
Diffstat (limited to 'Carpet/Carpet/src/variables.cc')
-rw-r--r--Carpet/Carpet/src/variables.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/variables.cc b/Carpet/Carpet/src/variables.cc
index 3d33468e2..e0987822e 100644
--- a/Carpet/Carpet/src/variables.cc
+++ b/Carpet/Carpet/src/variables.cc
@@ -5,7 +5,7 @@
#include "carpet.hh"
-static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/variables.cc,v 1.8 2002/06/06 00:23:35 schnetter Exp $";
+static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/variables.cc,v 1.9 2002/09/25 15:50:32 schnetter Exp $";
CCTK_FILEVERSION(Carpet_variables_cc)
@@ -55,6 +55,9 @@ namespace Carpet {
// Time step on base grid
CCTK_REAL base_delta_time;
+ // Current time
+ CCTK_REAL current_time;
+
// Data for grid functions