ianhinder / Kranc

A Mathematica package for generating code for solving time dependent partial differential equations
http://kranccode.org
GNU General Public License v2.0
28 stars 10 forks source link

Check variables being used are not NULL #25

Closed ianhinder closed 13 years ago

ianhinder commented 14 years ago

Kranc currently assumes that the variables it reads and writes are valid pointers. Sometimes they will not be as storage isn't allocated for them. Each calculation could contain a check that all the variables being read or written are non-NULL.

ianhinder commented 13 years ago

This is a duplicate of issue #24 "Check storage of variables used from another thorn", in that if Kranc were to check for storage of all groups that it accessed, the pointers would never be null. Closing as duplicate.