[Dune-devel] Minor ALUGrid bug

Oliver Sander sander at mi.fu-berlin.de
Tue Jul 3 21:38:34 CEST 2012


Dear ALUGrid guys,
there is a minor bug in ALUGrid proper, which leads to dune-grid not finding
ALU when configured as 'sequential'.  Crude patch is attached.
best,
Oliver


sander at igel:~$ diff -u ALUGrid-1.50/src/serial/gitter_tetra_top.h 
alugrid-1.50-inst/include/serial/gitter_tetra_top.h
--- ALUGrid-1.50/src/serial/gitter_tetra_top.h  2011-12-01 
18:50:25.000000000 +0100
+++ alugrid-1.50-inst/include/serial/gitter_tetra_top.h 2012-07-03 
21:33:23.000000000 +0200
@@ -1291,7 +1291,7 @@
      abort () ;
      return 0 ;
    default:
-    cerr << "**FEHLER (FATAL): Falsche Verfeinerungsregel [" << 
this->myhface3(i)->getrule() << "] in "__FILE__ << " " << __LINE__ << endl ;
+    cerr << "**FEHLER (FATAL): Falsche Verfeinerungsregel [" << 
this->myhface3(i)->getrule() << "] in " << __FILE__ << " " << __LINE__ 
<< endl ;
      abort() ;
    }
    return 0 ;
@@ -2059,7 +2059,7 @@
      abort () ;
      return 0 ;
    default:
-    cerr << "**FEHLER (FATAL): Falsche Verfeinerungsregel [" << 
this->myhface3(i)->getrule() << "] in "__FILE__ << " " << __LINE__ << endl ;
+    cerr << "**FEHLER (FATAL): Falsche Verfeinerungsregel [" << 
this->myhface3(i)->getrule() << "] in " << __FILE__ << " " << __LINE__ 
<< endl ;
      abort() ;
    }
    return 0 ;




More information about the Dune-devel mailing list