Commit c6a8be9a authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[boxdfm][vtkoutputmodule] improve readability

parent 9349ceec
......@@ -219,26 +219,17 @@ private:
const auto dofIdxGlobal = scv.dofIndex();
const auto& volVars = elemVolVars[scv];
// get the scalar-valued data
if (!scv.isOnFracture())
{
for (std::size_t i = 0; i < volVarScalarDataInfo.size(); ++i)
volVarScalarData[i][dofIdxGlobal] = volVarScalarDataInfo[i].get(volVars);
}
else
{
for (std::size_t i = 0; i < volVarScalarDataInfo.size(); ++i)
volVarScalarDataFracture[i][vertexToFractureVertexIdx_[dofIdxGlobal]] = volVarScalarDataInfo[i].get(volVars);
}
// get the vector-valued data
if (!scv.isOnFracture())
{
for (std::size_t i = 0; i < volVarVectorDataInfo.size(); ++i)
volVarVectorData[i][dofIdxGlobal] = volVarVectorDataInfo[i].get(volVars);
}
else
{
for (std::size_t i = 0; i < volVarScalarDataInfo.size(); ++i)
volVarScalarDataFracture[i][vertexToFractureVertexIdx_[dofIdxGlobal]] = volVarScalarDataInfo[i].get(volVars);
for (std::size_t i = 0; i < volVarVectorDataInfo.size(); ++i)
volVarVectorDataFracture[i][vertexToFractureVertexIdx_[dofIdxGlobal]] = volVarVectorDataInfo[i].get(volVars);
}
......
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