aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/SpaceTimeToy/src
diff options
context:
space:
mode:
authoreschnett <>2001-03-21 21:57:00 +0000
committereschnett <>2001-03-21 21:57:00 +0000
commit77b35c61254d043765551c86f6f36b5d892f50a5 (patch)
tree978e38ead48f27d55fd14f509585891ab3882374 /CarpetExtra/SpaceTimeToy/src
parent620b6cc822af2388c1199f80697e3b99fe960b81 (diff)
Added custom time interpolator as well.
Added custom time interpolator as well. Debugged other custom interpolator. Runs like a greased flash now. darcs-hash:20010321215740-f6438-bc99251c9a56354105ef885326d2360f275a85f2.gz
Diffstat (limited to 'CarpetExtra/SpaceTimeToy/src')
-rw-r--r--CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F778
1 files changed, 5 insertions, 3 deletions
diff --git a/CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F77 b/CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F77
index e62b60bc2..387059dc2 100644
--- a/CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F77
+++ b/CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F77
@@ -1,5 +1,5 @@
c -*-Fortran-*-
-c $Header: /home/eschnett/C/carpet/Carpet/CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F77,v 1.4 2001/03/20 16:29:55 eschnett Exp $
+c $Header: /home/eschnett/C/carpet/Carpet/CarpetExtra/SpaceTimeToy/src/SpaceTimeToy.F77,v 1.5 2001/03/21 22:57:40 eschnett Exp $
#include "cctk.h"
#include "cctk_Parameters.h"
@@ -163,7 +163,7 @@ c Apply boundary condition
if (CCTK_EQUALS(bound, "flat")) then
call BndFlatGN (ierr, cctkGH, sw, "spacetimetoy::spacetimeevolve")
else if (CCTK_EQUALS(bound, "zero")) then
- call BndScalarGN (ierr, cctkGH, zero, sw,
+ call BndScalarGN (ierr, cctkGH, sw, zero,
$ "spacetimetoy::spacetimeevolve")
else if (CCTK_EQUALS(bound, "radiation")) then
call BndRadiativeGN (ierr, cctkGH, sw, zero, one,
@@ -171,8 +171,10 @@ c Apply boundary condition
else if (CCTK_EQUALS(bound, "robin")) then
call BndRobinGN (ierr, cctkGH, sw, finf, npow,
$ "spacetimetoy::spacetimeevolve")
+ else if (CCTK_EQUALS(bound, "none")) then
+ ierr = 0
else
- call CCTK_WARN (0, "Internal error")
+ call CCTK_WARN (0, "internal error")
end if
if (ierr .lt. 0) then
call CCTK_WARN (0, "Error while applying boundary condition")