[ET Trac] #2686: Rename CCTK_REAL -> double when float is not tested

Erik Schnetter trac-noreply at einsteintoolkit.org
Wed Jan 25 13:19:51 CST 2023


#2686: Rename CCTK_REAL -> double when float is not tested

 Reporter: Zach Etienne
   Status: new
Milestone: 
  Version: 
     Type: enhancement
 Priority: minor
Component: 

Comment (by Erik Schnetter):

Many thorns work and have been tested, in particular all thorns in the CactusBase, CactusPUGH, CactusPUGHIO, Carpet, and many in the CarpetX arrangements. Most of the basic infrastructure thorns work, but many of the physics thorns won’t.

Unit tests don’t specify the precision of `CCTK_REAL`, that’s a build-time choice. We could run unit tests in single precision, but I’m afraid many would fail simply because single precision has a different accuracy.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2686/rename-cctk_real-double-when-float-is-not
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20230125/af9e3030/attachment.html 


More information about the Trac mailing list