Skip to content
Snippets Groups Projects
Commit 6a34e0e7 authored by Oliver Sander's avatar Oliver Sander
Browse files

clear vector thats supposed to receive the input field before filling it

[[Imported from SVN: r1589]]
parent 96dfe2f8
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ void Dune::AmiraMeshReader<GridType>::readFunction(DiscFuncType& f, const std::s
float* am_values_float = NULL;
int i, j;
f = 0;
// We allow fields defined on the whole grid and fields defined
// only on the boundary. We now check the file and proceed accordingly
if (!am->findData("Nodes", HxFLOAT, 3, "Data") &&
......
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