[Dune] GmshReader with ALUGrid

Florian Vogelbacher vogelb at student.ethz.ch
Wed Feb 9 13:46:00 CET 2011


Dear Dune,

I'm currently working on an implementation with the GmshReader. Calling
the read() function like

/** Read the grid using the GmshReader */
const std::string filename = "spherical-capacitor.msh";
Dune::GridPtr<Grid> alusimplexgrid = GmshReader<Grid>::read(filename);

will lead to the following output when calling the programm:

Reading 3d Gmsh grid...
version 2.000000 Gmsh file detected
file contains 1709 nodes
file contains 9423 elements
number of real vertices = 1709
number of boundary elements = 1560
number of elements = 7863
Created parallel ALUSimplexGrid<3,3> from macro grid file ''. 
[thymian:31226] *** Process received signal ***
[thymian:31226] Signal: Segmentation fault (11)
[thymian:31226] Signal code: Address not mapped (1)

It seems like GmshReader is aber to open and process the file, but
ALUSimplexGrid does not get a file name any more to go on and thus
throws a SegFault. Any hints for me to search and tackle the error?

Regards
Florian

PSI Villigen, Switzerland

URL: https://svn.dune-project.org/svn/dune-common/trunk
Repository Root: https://svn.dune-project.org/svn/dune-common
Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
Revision: 6329
Node Kind: directory
Schedule: normal
Last Changed Author: joe
Last Changed Rev: 6329
Last Changed Date: 2011-02-03 10:53:08 +0100 (Thu, 03 Feb 2011)

URL: https://svn.dune-project.org/svn/dune-grid/trunk
Repository Root: https://svn.dune-project.org/svn/dune-grid
Repository UUID: f82f27de-4411-0410-b156-930a902cda50
Revision: 7392
Node Kind: directory
Schedule: normal
Last Changed Author: robertk
Last Changed Rev: 7392
Last Changed Date: 2011-02-08 14:38:42 +0100 (Tue, 08 Feb 2011)

gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

ALUGrid1.23





More information about the Dune mailing list