From ff493b6a671493254828d10efb823b0c9f141a4f Mon Sep 17 00:00:00 2001 From: Adrian Burri <burriad@dune-project.org> Date: Fri, 10 Jun 2005 06:57:28 +0000 Subject: [PATCH] Moved AutoPointer and ALUMemoryProvider into namespace Dune [[Imported from SVN: r2123]] --- grid/alu3dgrid/alu3dgrid.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/grid/alu3dgrid/alu3dgrid.cc b/grid/alu3dgrid/alu3dgrid.cc index 1f47c976a..7e190f33e 100644 --- a/grid/alu3dgrid/alu3dgrid.cc +++ b/grid/alu3dgrid/alu3dgrid.cc @@ -284,11 +284,11 @@ namespace Dune { std::string cmp ("!"); cmp += elType2Name( elType ); - if (strcmp (str.c_str() , cmp.c_str()) != 0) + if (str != cmp) { derr << "ALU3DGrid<" << elType2Name(elType) << "> tries to read MacroGridFile with < " << str << " >. Identifier should be < " << cmp << " >!\n"; - abort(); + //abort(); } file.close(); @@ -1797,9 +1797,11 @@ namespace Dune { ALU3dGridIntersectionIterator<GridImp>:: initLocal(const GEOElementType& item, int faceIdx, LocalGeometryImp& geo) const { - geo.buildGeom - (item.twist(ALU3dImplTraits<GridImp::elementType>::dune2aluFace(faceIdx)), - faceIdx); + + // * OLD CODE + //geo.buildGeom + //(item.twist(ALU3dImplTraits<GridImp::elementType>::dune2aluFace(faceIdx)), + // faceIdx); } template <class GridImp> -- GitLab