[ET Trac] [Einstein Toolkit] #1377: GRHydro_Bondi.c and GRHydro_BondiM.c use M_PI

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Jun 6 01:11:49 CDT 2013


#1377: GRHydro_Bondi.c and GRHydro_BondiM.c use M_PI
------------------------------------+---------------------------------------
  Reporter:  sbrandt                |       Owner:                     
      Type:  defect                 |      Status:  new                
  Priority:  minor                  |   Milestone:                     
 Component:  EinsteinToolkit thorn  |     Version:  development version
Resolution:                         |    Keywords:  GRHydro M_PI       
------------------------------------+---------------------------------------

Comment (by hinder):

 It would be good to have a page on the wiki which describes
 policies/advice such as this.  Do we have one?

 I'm sure we have discussed this before, but these things tend to get lost.
 Alternatives would include _GNU_SOURCE  and using -std=gnu99.
 Additionally, instead of defining the macro in CFLAGS, it could be defined
 at the stop of the source file that is being compiled.  We could also
 consider defining it in one of the Cactus header files, if the use of this
 macro is something that Cactus officially supports.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1377#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list