#1495 reading element data is buggy using dune-alugrid
Metadata
Property | Value |
---|---|
Reported by | Nagaiah (nagaiah.chamakuri@gmail.com) |
Reported at | Sep 24, 2014 19:28 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Description
Hi, Last week I updated my all dune modules and downloaded git version of dune-alugrid. I found that reading the element data from dgf file is buggy using ALUGRID_SIMPLEX type. This happens when all dune modules (including dune-alugrid) are compiled with --enable-parallel flag. without enable-parallel flag(sequential compilation) this works fine. reading vertex data works fine in both cases.
No issues using UG grid, this works in sequential and parallel version.
Please find attached the dgf file and for the test case I used the example file from dune-grid/dune/grid/io/file/dgfparser/test/main.cc (using GRIDTYPE=ALUGRID_SIMPLEX and GRIDDIM=3) Here you have to copy the main.cc file in to your user module and compile using with dune-grid and dune-alugrid.
The resulting vtu file (after loading in paraview) shows that the element data is distorted. Please find the attached two figures what it should look like and should not.
seq.png : it should look like this par.png : odd solution after reading element data with ALUGrid
tested with latest git version of all dune code modules and dune-alugrid. Compiler is : gcc-4.7.2