<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Joe,<br>
<br>
this error means that the grid is not conform (or at least alu <br>
found a face that does not have two element or an element<br>
and a boundary element attached to it).<br>
<br>
Best<br>
Andreas<br>
<br>
On 12/05/2010 10:20 PM, Jö Fahlke wrote:
<blockquote cite="mid:20101205222039.GA15738@paranoia" type="cite">
  <pre wrap="">Hi!

I'm trying to read in a .msh file into an ALUSimplexGrid<3,3> using Dune's
GmshReader.

If get the following error (full error is given below):

| lt-fetd-3D: serial/gitter_mgb.cc:835: void ALUGridSpace::MacroGridBuilder::finalize(): Assertion `((hface3_GEO *)(*int).second)->ref == 2' failed.

The error message means nothing to me.  Does this ring a bell with anyone?  If
not, don't think too hard about it, gmsh seems to have problems with this file
as well and often segfaults when working with it.

Thanks,
Jö.

Full error message, has been run through "c++filt -t":
======================================================================
-*- mode: compilation; default-directory: "/home/joe/src/dune-noopt/dune-pm/appl/fetd/" -*-
Compilation started at Sun Dec  5 23:10:49

cd ~/src/dune-noopt/dune-pm/appl/fetd && make fetd-3D && ./fetd-3D scattering-3D.conf
make: »fetd-3D« ist bereits aktualisiert.
Reading 3d Gmsh grid...
version .1 Gmsh file detected
file contains 18409 nodes
file contains 100905 elements
number of real vertices = 18409
number of boundary elements = 0
number of elements = 100905

**WARNING (ignored) could'nt open file < alugrid.cfg > . Using default values: 
0 < [balance] < 1.2   partitioning method "METIS_PartGraphKway"


Created parallel ALUSimplexGrid<3,3> from macro grid file ''. 

lt-fetd-3D: serial/gitter_mgb.cc:835: void ALUGridSpace::MacroGridBuilder::finalize(): Assertion `((hface3_GEO *)(*int).second)->ref == 2' failed.
[paranoia:16970] *** Process received signal ***
[paranoia:16970] Signal: Aborted (6)
[paranoia:16970] Signal code:  (-6)
[paranoia:16970] [ 0] [0xf7799410]
[paranoia:16970] [ 1] /lib/i686/cmov/libc.so.6(abort+0x182) [0xf6ab9b82]
[paranoia:16970] [ 2] /lib/i686/cmov/libc.so.6(__assert_fail+0xf8) [0xf6aaf8b8]
[paranoia:16970] [ 3] /home/joe/src/dune-noopt/ALUGrid-inst/lib/libalugrid.so.0(ALUGridSpace::MacroGridBuilder::finalize()+0xb02) [0xf75b80d4]
[paranoia:16970] [ 4] /home/joe/src/dune-noopt/ALUGrid-inst/lib/libalugrid.so.0(ALUGridSpace::MacroGridBuilder::~MacroGridBuilder()+0x3e) [0xf75b7160]
[paranoia:16970] [ 5] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> >::createGrid(bool, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)+0x105b) [0x85eeb2f]
[paranoia:16970] [ 6] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> >::createGrid()+0x4f) [0x85eed07]
[paranoia:16970] [ 7] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(Appl::FETD::GmshGridCreator<Dune::ALUSimplexGrid<3, 3>, unsigned int>::GmshGridCreator(Dune::ParameterTree const&)+0x39d) [0x85fd28f]
[paranoia:16970] [ 8] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(std::tr1::shared_ptr<Appl::FETD::GridCreatorBase<Dune::ALUSimplexGrid<3, 3>, unsigned int> > Appl::FETD::makeGridCreator<Dune::ALUSimplexGrid<3, 3>, unsigned int>(Dune::ParameterTree const&)+0x1dc) [0x85fdaf3]
[paranoia:16970] [ 9] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(void Appl::FETD::fetd<Dune::ALUSimplexGrid<3, 3> >(Dune::ParameterTree const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x60) [0x86175bd]
[paranoia:16970] [10] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(main+0x157) [0x849be38]
[paranoia:16970] [11] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xf6aa2c76]
[paranoia:16970] [12] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D() [0x84997a1]
[paranoia:16970] *** End of error message ***
/bin/bash: Zeile 1: 16970 Abgebrochen             ./fetd-3D scattering-3D.conf

Compilation exited abnormally with code 134 at Sun Dec  5 23:10:55
======================================================================
  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
  </pre>
</blockquote>
<br>
</body>
</html>