mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
* Modified function LoadLocalMeshSize to print a message if the specified mesh file could not be loaded (due to non-existent file, no read access, etc....)
This commit is contained in:
parent
28270266ca
commit
69b63a2c25
@ -2830,7 +2830,15 @@ namespace netgen
|
||||
|
||||
ifstream msf(meshsizefilename);
|
||||
|
||||
if (!msf) return;
|
||||
// Philippose - 09/03/2009
|
||||
// Adding print message information in case the specified
|
||||
// does not exist, or does not load successfully due to
|
||||
// other reasons such as access rights, etc...
|
||||
if (!msf)
|
||||
{
|
||||
PrintMessage(2, "Error loading Mesh Size File: ", meshsizefilename, "....","Skipping!");
|
||||
return;
|
||||
}
|
||||
|
||||
PrintMessage (3, "Load local mesh-size");
|
||||
int nmsp, nmsl;
|
||||
|
Loading…
Reference in New Issue
Block a user