[ET Trac] #2650: Fixing WRITE statements for MoL scalars

Samuel Cupp trac-noreply at einsteintoolkit.org
Thu Sep 29 12:55:58 CDT 2022


#2650: Fixing WRITE statements for MoL scalars

 Reporter: Samuel Cupp
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: minor
Component: Cactus

MoL implicitly sets the region when declaring the WRITES for its scalars. However, the default WRITE region for PreSync is currently ‘interior’, while scalars can only be written ‘everywhere'. This means that PreSync attempts to call SyncGroups and ApplyBCs on the scalar variables. It doesn’t actually do anything, as there’s no registered BCs and syncing a scalar does nothing. Still, there are quite a few empty function calls due to this. The WRITE statements in MoL should explicitly state ‘everywhere’, at least until PreSync is capable of automatically setting the WRITES of scalars to ‘everywhere’.  
  
I’ve made these changes, and the associated pull request is [here](https://bitbucket.org/cactuscode/cactusnumerical/pull-requests/17/mol-fixed-writes-for-scalars).

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2650/fixing-write-statements-for-mol-scalars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220929/6e088ace/attachment.html 


More information about the Trac mailing list