Skip to content
Snippets Groups Projects
Commit b6277cb2 authored by Matti Pellika's avatar Matti Pellika
Browse files

Some structure to riemann.

AND a hotfix to Post/PViewDataGModelIO.cpp which was saving NodeData with
negative MVertex indices in .msh files.
parent 2356ef9b
No related branches found
No related tags found
No related merge requests found
......@@ -174,6 +174,7 @@ bool PViewDataGModel::writeMSH(std::string fileName, bool binary)
return false;
}
int num = v->getIndex();
if(num < 0) num = 0;
if(binary){
fwrite(&num, sizeof(int), 1, fp);
fwrite(_steps[step]->getData(i), sizeof(double), numComp, fp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment