Skip to content
Snippets Groups Projects
Commit 1b714ee0 authored by Katherina Baber's avatar Katherina Baber
Browse files

made addVertexData and addCellData work again

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6041 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent b8c542d1
No related branches found
No related tags found
No related merge requests found
...@@ -211,7 +211,9 @@ public: ...@@ -211,7 +211,9 @@ public:
template <class DataArray> template <class DataArray>
DUNE_DEPRECATED // use attachVertexData() instead! DUNE_DEPRECATED // use attachVertexData() instead!
void addVertexData(DataArray *field, const char *name, int nComps=1) void addVertexData(DataArray *field, const char *name, int nComps=1)
{ addManagedVertexData(*field, name, nComps); } {
curWriter_->addVertexData(*field, name);
}
/*! /*!
* \brief Add a cell centered quantity to the output. * \brief Add a cell centered quantity to the output.
...@@ -245,7 +247,9 @@ public: ...@@ -245,7 +247,9 @@ public:
template <class VectorField> template <class VectorField>
DUNE_DEPRECATED // use attachCellData() instead DUNE_DEPRECATED // use attachCellData() instead
void addCellData(VectorField *field, const char *name, int nComps = 1) void addCellData(VectorField *field, const char *name, int nComps = 1)
{ addManagedCellData(*field, name, nComps); }; {
curWriter_->addCellData(*field, name);
}
/*! /*!
* \brief Finalizes the current writer. * \brief Finalizes the current writer.
......
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