[Commits] [svn:einsteintoolkit] EOS_IdealFluid/trunk/src/ (Rev. 16)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Fri Nov 16 12:47:52 CST 2012
User: knarf
Date: 2012/11/16 12:47 PM
Modified:
/trunk/src/
EOS_Ideal_Fluid.F
Log:
use CCTK_DECLARE to silence compiler warnings
File Changes:
Directory: /trunk/src/
======================
File [modified]: EOS_Ideal_Fluid.F
Delta lines: +4 -2
===================================================================
--- trunk/src/EOS_Ideal_Fluid.F 2012-11-05 14:45:55 UTC (rev 15)
+++ trunk/src/EOS_Ideal_Fluid.F 2012-11-16 18:47:52 UTC (rev 16)
@@ -116,7 +116,8 @@
IMPLICIT NONE
DECLARE_CCTK_PARAMETERS
- CCTK_REAL rest_mass_density
+c use CCTK_DECLARE to silence compiler warnings
+ CCTK_DECLARE(CCTK_REAL, rest_mass_density, )
CCTK_REAL specific_internal_energy
EOS_Ideal_Fluid_DPressByDRho = (eos_ideal_fluid_gamma - 1.0d0) *
@@ -146,7 +147,8 @@
DECLARE_CCTK_PARAMETERS
CCTK_REAL rest_mass_density
- CCTK_REAL specific_internal_energy
+c use CCTK_DECLARE to silence compiler warnings
+ CCTK_DECLARE(CCTK_REAL, specific_internal_energy, )
EOS_Ideal_Fluid_DPressByDEps = (eos_ideal_fluid_gamma - 1.0d0) *
. rest_mass_density
More information about the Commits
mailing list