Skip to content
Snippets Groups Projects
Commit c7f0f4fd authored by Van Dung Nguyen's avatar Van Dung Nguyen
Browse files

never finish loop

parent 66aa74b6
No related branches found
No related tags found
No related merge requests found
......@@ -704,7 +704,9 @@ int GModel::_readMSH2(const std::string &name)
if(!fgets(str, sizeof(str), fp) || feof(fp))
break;
}
if(feof(fp))
break;
if(!strncmp(&str[1], "Periodic",8)) {
readMSHPeriodicNodes(fp,this);
break;
......@@ -714,7 +716,7 @@ int GModel::_readMSH2(const std::string &name)
break;
} while(str[0] != '$');
}
fclose(fp);
return postpro ? 2 : 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment