diff options
author | eschnett <eschnett@e296648e-0e4f-0410-bd07-d597d9acff87> | 2012-10-13 02:53:45 +0000 |
---|---|---|
committer | eschnett <eschnett@e296648e-0e4f-0410-bd07-d597d9acff87> | 2012-10-13 02:53:45 +0000 |
commit | 7896b7882fe0095132b76a4096a708acce958b46 (patch) | |
tree | b8c3c6017ee56fe43e3cd1670d00a1d924c2e88d /src/metrics/Schwarzschild_Novikov.F77 | |
parent | 84cf1675037e1335a4acd8b8cef2ec32a33b79a6 (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/Schwarzschild_Novikov.F77')
-rw-r--r-- | src/metrics/Schwarzschild_Novikov.F77 | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/metrics/Schwarzschild_Novikov.F77 b/src/metrics/Schwarzschild_Novikov.F77 index 2f2a1ec..2f797d2 100644 --- a/src/metrics/Schwarzschild_Novikov.F77 +++ b/src/metrics/Schwarzschild_Novikov.F77 @@ -36,13 +36,8 @@ c output arguments CCTK_REAL psi LOGICAL Tmunu_flag -c local static variables - logical firstcall - CCTK_REAL eps, mass - data firstcall /.true./ - save firstcall, eps, mass - c local variables + CCTK_REAL eps, mass CCTK_REAL r,c,psi4 CCTK_REAL nov_dr_drmax, nov_rmax, nov_r @@ -59,14 +54,8 @@ C This is a vacuum spacetime with no cosmological constant C Get parameters of the exact solution. - if (firstcall) then - - eps = Schwarzschild_Novikov__epsilon - mass= Schwarzschild_Novikov__mass - - firstcall = .false. - - end if + eps = Schwarzschild_Novikov__epsilon + mass= Schwarzschild_Novikov__mass r = max(sqrt(x**2 + y**2 + z**2), eps) |