diff --git a/dumux/boxmodels/1p2c/1p2cmodel.hh b/dumux/boxmodels/1p2c/1p2cmodel.hh index dfab1c1cee810122025e627978a72464796de76e..08ef2f13b6ff1b8846388ab8578e1a638af8afa7 100644 --- a/dumux/boxmodels/1p2c/1p2cmodel.hh +++ b/dumux/boxmodels/1p2c/1p2cmodel.hh @@ -287,7 +287,6 @@ public: #ifdef VELOCITY_OUTPUT // normalize the velocities at the vertices // calculate the bounding box of the grid view - int index = 0; VertexIterator vIt = this->gridView_().template begin<dim>(); const VertexIterator vEndIt = this->gridView_().template end<dim>(); for (; vIt!=vEndIt; ++vIt) diff --git a/test/boxmodels/1p2c/tissue_tumor_problem.hh b/test/boxmodels/1p2c/tissue_tumor_problem.hh index 0eb0996492dd39879707e7d9ada04342a0466cb8..fc773dfc463163c9dba64f505af03cfecb9f7005 100644 --- a/test/boxmodels/1p2c/tissue_tumor_problem.hh +++ b/test/boxmodels/1p2c/tissue_tumor_problem.hh @@ -242,8 +242,7 @@ public: int scvIdx, int boundaryFaceIdx) const { - const GlobalPosition &globalPos - = element.geometry().corner(scvIdx); + //const GlobalPosition &globalPos = element.geometry().corner(scvIdx); values = 0; //int globalIdx = this->model().vertexMapper().map(element, scvIdx, dim);