[ET Trac] [Einstein Toolkit] #1455: CCTK_InterpGridArrays should give an error if an input variable index is -1

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Oct 15 10:43:19 CDT 2013


#1455: CCTK_InterpGridArrays should give an error if an input variable index is -1
--------------------+-------------------------------------------------------
 Reporter:  hinder  |       Owner:                     
     Type:  defect  |      Status:  new                
 Priority:  minor   |   Milestone:                     
Component:  Cactus  |     Version:  development version
 Keywords:          |  
--------------------+-------------------------------------------------------
 CCTK_InterpGridArrays takes as input a list of indices of Cactus variables
 to interpolate.  If one of these indices is -1, no error is given, and
 meaningless data is returned for this variable (probably from another
 gridfunction).  This can happen easily if you get the variable index using
 CCTK_VarIndex and make a spelling mistake in the variable name, and don't
 check the return value.

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


More information about the Trac mailing list