Commit b85b7c63 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/more-stuff-in-vtk-outputmodule' into 'master'

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

See merge request !945
parents 9d434a94 a13cae75
......@@ -344,8 +344,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