Small bugfix for fieldnames

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1458 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
rho 2012-02-10 15:15:29 +00:00 committed by Knut Morten Okstad
parent 1eab860d79
commit 65ffe837e3

View File

@ -345,7 +345,7 @@ int main (int argc, char** argv)
ok &= writeFieldPatch(tmp.getRow(r),1,*patches[pit->first][j],
FEmodel[j],j+1,
block,it->name.substr(pos,end),vlist,
block,it->name.substr(pos,end-pos),vlist,
slist,*myVtf);
pos = end+1;
}
@ -375,8 +375,9 @@ int main (int argc, char** argv)
double foo = k;
myVtf->writeState(k++,"Step %g",foo,1);
}
} else
} else
return 3;
pit = processlist.begin();
time += pit->second.begin()->timestep*skip;
}