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

Kranc should be tolerant of CCL file parse failures #117

Open ianhinder opened 9 years ago

ianhinder commented 9 years ago

When run in script mode, Kranc attempts to determine information about inherited variables by parsing interface.ccl files from the Cactus tree. It tries to parse all of them, as it only knows the implementation name, and not the thorn name. If there is a malformed CCL file, this will cause Kranc to abort, even if the file is not needed. Kranc would be more robust if it skipped these errors (with a warning), and continued as long as it found a thorn with the right implementation.