mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fnf reader messages with msg level, no error for analysis sect
This commit is contained in:
parent
4a28cd139c
commit
da37730eb8
@ -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")
|
else if (token == "MATERIALS")
|
||||||
{
|
{
|
||||||
@ -408,7 +422,9 @@ namespace netgen
|
|||||||
if (load_type_id == loadtypes[i]->id)
|
if (load_type_id == loadtypes[i]->id)
|
||||||
loadtypes[i]->places.Append (placement);
|
loadtypes[i]->places.Append (placement);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (token == "%CON_CASE")
|
||||||
|
{ ; }
|
||||||
|
|
||||||
else if (token == "%END_SECT")
|
else if (token == "%END_SECT")
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ namespace netgen
|
|||||||
void ReadFile (Mesh & mesh,
|
void ReadFile (Mesh & mesh,
|
||||||
const string & hfilename)
|
const string & hfilename)
|
||||||
{
|
{
|
||||||
cout << "Read User File" << endl;
|
PrintMessage(3, "Read User File");
|
||||||
|
|
||||||
const char * filename = hfilename.c_str();
|
const char * filename = hfilename.c_str();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user