[ET Trac] #2646: Replace error/warning messages by CCTK_ERROR/CCTK_WARN in IllinoisGRMHD

Leonardo Werneck trac-noreply at einsteintoolkit.org
Thu Sep 22 12:20:52 CDT 2022


#2646: Replace error/warning messages by CCTK_ERROR/CCTK_WARN in IllinoisGRMHD

 Reporter: Leonardo Werneck
   Status: new
Milestone: 
  Version: 
     Type: task
 Priority: minor
Component: 

Commits [f3202a7](https://bitbucket.org/zach_etienne/wvuthorns/commits/f3202a79db27673f5083894e6beb3f1a75e08b3d) and [78143cb](https://bitbucket.org/zach_etienne/wvuthorns/commits/78143cb3f8f6eb70f41ca2a8312cbb0c83c99d7b) to the master branch of `wvuthorns` provide updates to `IllinoisGRMHD` that have been previously suggested. These are:

* The sequence `printf(error_message); exit(1)` in `harm_primitives_lowlevel.C` of `IllinoisGRMHD` has been replaced by `CCTK_VERROR(error_message)`; 
* A warning messaged printed using `printf(...)` in `inlined_functions.C` has been replaced  by the appropriate call to `CCTK_VWARN(CCTK_WARN_ALERT, ...)`.

Cheers,

Leo

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2646/replace-error-warning-messages-by
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220922/a2b6a547/attachment.html 


More information about the Trac mailing list