Commit a13cae75 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[io][vtk] fix vector data output for box

parent 759bd3c8
......@@ -343,8 +343,8 @@ private:
for (std::size_t i = 0; i < volVarScalarDataInfo_.size(); ++i)
sequenceWriter_.addVertexData( volVarScalarData[i], volVarScalarDataInfo_[i].name );
for (std::size_t i = 0; i < volVarVectorDataInfo_.size(); ++i)
sequenceWriter_.addVertexData( Field(gridGeom_.gridView(), gridGeom_.elementMapper(), volVarVectorData[i],
volVarVectorDataInfo_[i].name, /*numComp*/dimWorld, /*codim*/0).get() );
sequenceWriter_.addVertexData( Field(gridGeom_.gridView(), gridGeom_.vertexMapper(), volVarVectorData[i],
volVarVectorDataInfo_[i].name, /*numComp*/dimWorld, /*codim*/dim).get() );
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment