From 646423ef89c9baa24b6aa08007a28dcc68f52e1e Mon Sep 17 00:00:00 2001 From: jthorn Date: Sun, 17 Nov 2002 17:29:32 +0000 Subject: Add an option to #ifdef-out the only Fortran 90 code in this thorn (the "arbitrary slice" option), allowing this thorn to be compiled with only C and Fortran 77 compilers (i.e. with no Fortran 90 compiler). n.b. This commit only adds an *option* to #ifdef-out the Fortran 90 code; by default the Fortran 90 code is compiled as usual. Modified Files: doc/documentation.tex src/linear_extrap_one_bndry.F src/slice_data.F src/slice_evolve.F src/slice_initialize.F src/include/README Added Files: src/include/Exact.inc git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@142 e296648e-0e4f-0410-bd07-d597d9acff87 --- doc/documentation.tex | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/documentation.tex b/doc/documentation.tex index 714719d..7ec4509 100644 --- a/doc/documentation.tex +++ b/doc/documentation.tex @@ -151,8 +151,16 @@ coordinates on the slice. Given a lapse and shift computed by some other thorn(s), the slice can be evolved through the exact solution, in order to check on an evolution code, or in order to test gauge conditions without the need for an evolution code. This option is -documented in the file \verb|slice_evolver.tex| in the \verb|doc/| -directory. +documented in \verb|doc/slice_evolver.tex|. + +This thorn is mainly written in a mixture of Fortran~77 and Fortran~90; +a few routines are written in C. At present Fortran~90 is used only +for the ``arbitrary slice'' option (described in the previous paragraph). +If this option isn't needed, then the Fortran~90 code can all be +\verb|#ifdef|-ed out, allowing this thorn to be compiled on a system +having only Fortran~77 and C compilers (\ie{} no Fortran~90 compiler). +This can be done by changing a single line in \verb|src/include/Exact.inc|; +see the comments there for details. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3