diff options
author | jthorn <jthorn@e296648e-0e4f-0410-bd07-d597d9acff87> | 2002-06-16 18:42:41 +0000 |
---|---|---|
committer | jthorn <jthorn@e296648e-0e4f-0410-bd07-d597d9acff87> | 2002-06-16 18:42:41 +0000 |
commit | f7216a27e1388f70b04fe68c2bd43449d668f457 (patch) | |
tree | 0c7673b21efc4745fd16afb6b320c63489eb3150 /src/slice_evolve.F | |
parent | cf2fb9a92562b9471403b8205ce75d975de144d4 (diff) |
[[This is a redo of my "cvs import" of 2002/06/11, this time using proper
cvs operations (commit/delete/add) to preserve the full CVS history of this
thorn.]]
This is a major cleanup/revision of AEIThorns/Exact.
Major user-visible changes:
* major expansion of doc/documentation.tex
* major expansion of documentation in param.ccl file
* rename all parameters, systematize spacetime/coordinate/parameter names
(there is a perl script in par/convert-pars.pl to convert old parameter
files to the new names)
* [from Mitica Vulcanov] many additions and fixes to
cosmological solutions and Schwarzschild-Lemaitre
* fix stress-energy tensor computations so they work -- before they were
all disabled in CVS (INCLUDES lines were commented out in interface.ccl)
due to requiring excessive friendship with evolution thorns
and/or public parameters; new code copies parameters to restricted
grid scalars, which Cactus automagically "pushes" to friends
* added some more tests to testsuite, though these don't yet work fully
Additional internal changes:
* rename many Fortran subroutines (and a few C ones too)
so their names start with the thorn name
to reduce the chances of name collisions with other thorns
* move all metrics to subdirectory so the main source directory isn't
so cluttered
* move two files containing subroutines which were never called
(they didn't belong in this thorn, but somehow got into cvs by accident)
into new archive/ directory
* some (small) improvements in efficiency -- the exact_model parameter
is now decoded from a keyword (string) to an integer once at INITIAL,
and that integer tested by the stress-energy tensor code,
rather than requiring a separate series of string tests at each grid
point (!) like the old stress-energy tensor code did
Modified Files:
ParamCheck.c added a check to make sure we don't try
to set the shift if it doesn't have storage
Startup.c
make.code.defn
slice_data.F
slice_evolve.F
slice_initialize.F
Added Files:
Bona_Masso_data.F moved from old exactdata.F
blended_boundary.F moved from old exactblendbound.F
boundary.F moved from old exactboundary.F
decode_pars.F new file to decode exact_model into integer,
copy parameters to grid scalars for Calc_Tmunu
code
gauge.F moved from old exactgauge.F
initialize.F moved from old exactinitialize.F
linear_extrap_one_bndry.F moved from old linextraponebound.F
metric.F moved from old exactmetric.F
xyz_blended_boundary.F moved from old exactcartblendbound.F
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@101 e296648e-0e4f-0410-bd07-d597d9acff87
Diffstat (limited to 'src/slice_evolve.F')
-rw-r--r-- | src/slice_evolve.F | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/src/slice_evolve.F b/src/slice_evolve.F index 8380593..9c95134 100644 --- a/src/slice_evolve.F +++ b/src/slice_evolve.F @@ -1,9 +1,10 @@ C Evolve the slice in the exact spacetime. +C $Header$ #include "cctk.h" #include "cctk_Arguments.h" - subroutine slice_evolve(CCTK_ARGUMENTS) + subroutine Exact__slice_evolve(CCTK_ARGUMENTS) implicit none @@ -39,10 +40,10 @@ C by slice_data. C Synchronize and bound slice. - call linextraponebound(CCTK_ARGUMENTS,slicetmp1x) - call linextraponebound(CCTK_ARGUMENTS,slicetmp1y) - call linextraponebound(CCTK_ARGUMENTS,slicetmp1z) - call linextraponebound(CCTK_ARGUMENTS,slicetmp1t) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp1x) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp1y) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp1z) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp1t) call CCTK_SyncGroup(ierr,cctkGH,"Exact::Exact_slicetemp1") @@ -73,7 +74,8 @@ C Calculate first derivatives of slice coordinates. C Now we need the exact solution metric in the preferred coordinates C x^A. - call exactmetric( + call Exact__metric( + $ decoded_exact_model, $ slicetmp1x(i,j,k), slicetmp1y(i,j,k), slicetmp1z(i,j,k), $ slicetmp1t(i,j,k), $ gd(4,4), gd(1,4), gd(2,4), gd(3,4), @@ -92,10 +94,10 @@ C Calculate n^A and dx^A/dt C Synchronize and bound slicetmp2, which contains dx^A/dt. - call linextraponebound(CCTK_ARGUMENTS,slicetmp2x) - call linextraponebound(CCTK_ARGUMENTS,slicetmp2y) - call linextraponebound(CCTK_ARGUMENTS,slicetmp2z) - call linextraponebound(CCTK_ARGUMENTS,slicetmp2t) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp2x) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp2y) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp2z) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicetmp2t) call CCTK_SyncGroup(ierr,cctkGH,"Exact::Exact_slicetemp2") @@ -108,20 +110,17 @@ C Leapfrog step. C Synchronize and bound slice. - call linextraponebound(CCTK_ARGUMENTS,slicex) - call linextraponebound(CCTK_ARGUMENTS,slicey) - call linextraponebound(CCTK_ARGUMENTS,slicez) - call linextraponebound(CCTK_ARGUMENTS,slicet) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicex) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicey) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicez) + call Exact__linear_extrap_one_bndry(CCTK_ARGUMENTS,slicet) call CCTK_SyncGroup(ierr,cctkGH,"Exact::Exact_slice") C Extract Cauchy data at the new position, and store dxA/dt C for use in the next Lax step. - call slice_data(CCTK_ARGUMENTS) + call Exact__slice_data(CCTK_ARGUMENTS) return end - - - |