bendudson / BOUT

NOTE: BOUT++ now at https://github.com/boutproject/BOUT-dev
GNU Lesser General Public License v3.0
24 stars 34 forks source link

Crash when fields used before mesh constructed #36

Closed bendudson closed 12 years ago

bendudson commented 12 years ago

If a Field3D is assigned a value before mesh is created the code segfaults. Instead a warning message should be printed, exception thrown etc.

Long term fix is to require a mesh to create Field3D objects, but a short-term solution is probably needed