[ET Trac] [Einstein Toolkit] #435: double instead of CCTK_REAL in two routines in GRHydro

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri May 20 04:05:38 CDT 2011


#435: double instead of CCTK_REAL in two routines in GRHydro
-----------------------------------+----------------------------------------
 Reporter:  jtao                   |       Owner:            
     Type:  enhancement            |      Status:  new       
 Priority:  optional               |   Milestone:  ET_2011_11
Component:  EinsteinToolkit thorn  |     Version:            
 Keywords:                         |  
-----------------------------------+----------------------------------------
 There are two places in GRHydro code that variables are
 declared using double.

 It will be better to use CCTK_REAL instead. It makes it
 easier to check various things by setting REAL_PRECISION in the config
 file.

 GRHydro/src/GRHydro_Con2PrimM_pt.c:  register double ftmp,gtmp;
 GRHydro/src/GRHydro_Con2PrimM_pt.c:  double gam_m1_o_gam =
 ((gammaeos-1.)/gammaeos);

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/435>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list