ianhinder / Kranc

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

Check storage of variables used from another thorn #24

Closed ianhinder closed 13 years ago

ianhinder commented 14 years ago

When you use variables from another thorn, you don't know that they have been given storage. Kranc could check this, and that there are the expected number of timelevels, earlier on in the run than when they are first written to, which would presumably result in a segfault.

ianhinder commented 13 years ago

This has been implemented for all variables in commit 0101aa58b9485742a3b688ccfdc1863a9409779f.