--- trunk/finley/src/Mesh_readGmsh.c 2007/01/29 00:09:08 940 +++ trunk/finley/src/Mesh_readGmsh.c 2007/02/13 05:10:26 964 @@ -312,10 +312,10 @@ printf("timing: reading mesh: %.4e sec\n",Finley_timer()-time0); #endif #endif + if (Finley_noError()) { + if ( ! Finley_Mesh_isPrepared(mesh_p)) { + Finley_setError(SYSTEM_ERROR,"Mesh is not prepared for calculation. Contact the programmers."); + } + } return mesh_p; } -/* -* $Log$ -* -*/ -