Commit 0a04ce18 authored by Timo Koch's avatar Timo Koch
Browse files

[model] Remove unused default vtk output

parent 68ea94ee
......@@ -682,34 +682,7 @@ public:
template <class MultiWriter>
void addOutputVtkFields(const SolutionVector &sol,
MultiWriter &writer)
{
typedef Dune::BlockVector<Dune::FieldVector<Scalar, 1> > ScalarField;
// create the required scalar fields
unsigned numDofs = asImp_().numDofs();
// global defect of the two auxiliary equations
ScalarField* x[numEq];
for (int eqIdx = 0; eqIdx < numEq; ++eqIdx) {
x[eqIdx] = writer.allocateManagedBuffer(numDofs);
}
for (int dofIdxGlobal = 0; dofIdxGlobal < sol.size(); dofIdxGlobal++)
{
for (int eqIdx = 0; eqIdx < numEq; ++eqIdx) {
(*x[eqIdx])[dofIdxGlobal] = sol[dofIdxGlobal][eqIdx];
}
}
for (int eqIdx = 0; eqIdx < numEq; ++eqIdx) {
std::ostringstream oss;
oss << "primaryVar_" << eqIdx;
if (isBox)
writer.attachVertexData(*x[eqIdx], oss.str());
else
writer.attachCellData(*x[eqIdx], oss.str());
}
}
{}
/*!
* \brief Reference to the grid view of the spatial domain.
......
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