No error message when opening a non-existing file

Issue #1 resolved
Former user created an issue

This can be reproduced by compiling and running the cube demo changing the final simulation time to, e.g., 1 as described in this issue. When the dual solve starts, dolfin will try to open a non-existing file based on the value of the variable no_samples. Instead of reporting that the file does not exist, dolfin will eventually crash at the file header check.

Comments (5)

  1. Former user Account Deleted reporter

    Fixed with commit 49753c0. We might want to consider implementing similar functionalities for other file formats as well, i.e. not inside /io/BinaryFile.cpp.

  2. Log in to comment