diff --git a/libsrc/interface/read_fnf_mesh.cpp b/libsrc/interface/read_fnf_mesh.cpp index e51d9f43..5620dadc 100644 --- a/libsrc/interface/read_fnf_mesh.cpp +++ b/libsrc/interface/read_fnf_mesh.cpp @@ -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") { diff --git a/libsrc/interface/readuser.cpp b/libsrc/interface/readuser.cpp index 692eb257..f5edcc91 100644 --- a/libsrc/interface/readuser.cpp +++ b/libsrc/interface/readuser.cpp @@ -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();