From c5fcdfcec7895d1379a7439bbbd03a9dc7b84f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kl=C3=B6fkorn?= <robertk@mathematik.uni-stuttgart.de> Date: Mon, 24 Oct 2011 19:27:16 +0000 Subject: [PATCH] small change git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@1427 0d966ed9-3843-0410-af09-ebfb50bd7c74 --- src/serial/gitter_tetra_top.cc | 4 ++-- src/serial/gitter_tetra_top.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/serial/gitter_tetra_top.cc b/src/serial/gitter_tetra_top.cc index b697bbaab..cb76b6d32 100644 --- a/src/serial/gitter_tetra_top.cc +++ b/src/serial/gitter_tetra_top.cc @@ -968,9 +968,9 @@ template < class A > void TetraTop < A > :: bisect () const int offset = ( _type == 0 ) ? 0 : 1; // v2 of second child is always v1 of father - assert( h0->myvertex( 2 )->getIndex() == this->myvertex( 2-offset )->getIndex() ); + assert( h1->myvertex( 2 )->getIndex() == this->myvertex( 2-offset )->getIndex() ); // v3 of second child is always v2 of father - assert( h0->myvertex( 3 )->getIndex() == this->myvertex( 1+offset )->getIndex() ); + assert( h1->myvertex( 3 )->getIndex() == this->myvertex( 1+offset )->getIndex() ); //cout << "New tetra " << h0 << endl; //cout << "New tetra " << h1 << endl; diff --git a/src/serial/gitter_tetra_top.h b/src/serial/gitter_tetra_top.h index d45692972..01a40e523 100644 --- a/src/serial/gitter_tetra_top.h +++ b/src/serial/gitter_tetra_top.h @@ -183,6 +183,7 @@ template < class A > class TetraTop : public A const unsigned char _lvl ; const signed char _nChild; myrule_t _req, _rule ; + char _type ; private : inline IndexManagerType & indexManager() { -- GitLab