[ET Trac] [Einstein Toolkit] #1449: CarpetLib dh:gfs needs to be traversed in order of variable index
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Oct 9 08:20:47 CDT 2013
#1449: CarpetLib dh:gfs needs to be traversed in order of variable index
---------------------+------------------------------------------------------
Reporter: rhaas | Owner: eschnett
Type: defect | Status: reviewed_ok
Priority: major | Milestone:
Component: Carpet | Version: development version
Resolution: | Keywords:
---------------------+------------------------------------------------------
Changes (by eschnett):
* status: review => reviewed_ok
Comment:
The code should check that f->varindex is reasonable.
For the vector version, you could directly resize to CCTK_NumVars().
Both patches are good.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1449#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list