fnf reader messages with msg level, no error for analysis sect

This commit is contained in:
Christopher Lackner 2019-05-21 10:51:39 +02:00
parent 4a28cd139c
commit da37730eb8
2 changed files with 19 additions and 3 deletions

View File

@ -169,7 +169,21 @@ namespace netgen
}
}
else if (token == "ANALYSIS")
{
// ignore this section
while (1)
{
ReadLine (fin, buf);
stringstream sbuf(buf);
string token;
sbuf >> token;
if (token == "%END_SECT")
{
break;
}
}
}
else if (token == "MATERIALS")
{
@ -408,7 +422,9 @@ namespace netgen
if (load_type_id == loadtypes[i]->id)
loadtypes[i]->places.Append (placement);
}
}
}
else if (token == "%CON_CASE")
{ ; }
else if (token == "%END_SECT")
{

View File

@ -18,7 +18,7 @@ namespace netgen
void ReadFile (Mesh & mesh,
const string & hfilename)
{
cout << "Read User File" << endl;
PrintMessage(3, "Read User File");
const char * filename = hfilename.c_str();