diff options
author | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 2000-09-12 07:45:27 +0000 |
---|---|---|
committer | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 2000-09-12 07:45:27 +0000 |
commit | a69ca9960f5eed7aec267de705a2b8554fe5c450 (patch) | |
tree | 912aed46241b5d19430d0a1b6b71f0f430d32abb /src | |
parent | f8b67d2052a2f2a897341bc25239839efb711006 (diff) |
Adding fixed timestep option
Will update documentation.tex later today.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@27 5633253d-7678-4964-a54d-f87795f8ee59
Diffstat (limited to 'src')
-rw-r--r-- | src/Given.c | 25 | ||||
-rw-r--r-- | src/make.code.defn | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/src/Given.c b/src/Given.c new file mode 100644 index 0000000..645c422 --- /dev/null +++ b/src/Given.c @@ -0,0 +1,25 @@ + /*@@ + @file Simple.c + @date September 4 1999 + @author Gabrielle Allen + @desc + Standard specification of timestep + @enddesc + @@*/ + +#include <stdlib.h> + +#include "cctk.h" +#include "cctk_Arguments.h" +#include "cctk_Parameters.h" + +void Time_Given(CCTK_ARGUMENTS) +{ + DECLARE_CCTK_PARAMETERS + DECLARE_CCTK_ARGUMENTS + + cctkGH->cctk_delta_time = timestep; +} + + + diff --git a/src/make.code.defn b/src/make.code.defn index a37cea0..4571048 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -2,7 +2,7 @@ # $Header$ # Source files in this directory -SRCS = Simple.c Courant.c +SRCS = Simple.c Courant.c Given.c # Subdirectories containing source files SUBDIRS = |