aboutsummaryrefslogtreecommitdiff
path: root/src/metrics/Alvi.F77
diff options
context:
space:
mode:
authoreschnett <eschnett@e296648e-0e4f-0410-bd07-d597d9acff87>2012-10-13 02:53:45 +0000
committereschnett <eschnett@e296648e-0e4f-0410-bd07-d597d9acff87>2012-10-13 02:53:45 +0000
commit7896b7882fe0095132b76a4096a708acce958b46 (patch)
treeb8c3c6017ee56fe43e3cd1670d00a1d924c2e88d /src/metrics/Alvi.F77
parent84cf1675037e1335a4acd8b8cef2ec32a33b79a6 (diff)
Remove save attributes from several metric routines
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@280 e296648e-0e4f-0410-bd07-d597d9acff87
Diffstat (limited to 'src/metrics/Alvi.F77')
-rw-r--r--src/metrics/Alvi.F7718
1 files changed, 4 insertions, 14 deletions
diff --git a/src/metrics/Alvi.F77 b/src/metrics/Alvi.F77
index 046602a..78bf84e 100644
--- a/src/metrics/Alvi.F77
+++ b/src/metrics/Alvi.F77
@@ -29,27 +29,17 @@ c output arguments
CCTK_REAL psi
LOGICAL Tmunu_flag
-c static locals
- logical firstcall
- CCTK_REAL m1,m2,b
- data firstcall /.true./
- save firstcall, m1,m2,b
-c$omp threadprivate (firstcall, m1,m2,b)
-
c locals
+ CCTK_REAL m1,m2,b
CCTK_REAL rin1,rin2,rout,x1,x2, r1, r2, r3, results(10)
C this is a vacuum solution with no cosmological constant
C ==> it does not set the stress-energy tensor
Tmunu_flag = .false.
- if (firstcall) then
- m1 = Alvi__mass1
- m2 = Alvi__mass2
- b = Alvi__separation
-
- firstcall = .false.
- end if
+ m1 = Alvi__mass1
+ m2 = Alvi__mass2
+ b = Alvi__separation
rin1 = dsqrt(m1*b)
rin2 = dsqrt(m2*b)