[Dune] Two GridPtrs do not work

Yufei Cao cao at ians.uni-stuttgart.de
Tue Apr 15 12:06:08 CEST 2008


Dear Dune,

it would be great if you could help me on this: declaring two GridPtr objects 
leads to a segmentation fault on my PC (Intel(R) Core(TM)2 Duo CPU E6850 @ 
3.00GHz, gcc 4.1.2). Nevertheless, it runs on my laptop (Intel Centrino, gcc 
4.1.3).

I attached an example with corresponding grid.

Thank you!
Yufei


-- 
------------------------------------------------------------------------------- 
Yufei Cao
Universität Stuttgart
Institut für Angewandte Analysis und Numerische Simulation
Lehrstuhl für Numerische Mathematik für Höchstleistungsrechner
Pfaffenwaldring 57 
70569 Stuttgart
Germany

Tel.:  +49 (0)711 685-65558
Fax:  +49 (0)711 685-65507

Email: cao at ians.uni-stuttgart.de 
------------------------------------------------------------------------------- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.cc
Type: text/x-c++src
Size: 770 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20080415/7fcca5ac/attachment.cc>
-------------- next part --------------
DGF
VERTEX 
firstindex 1
    0.0000000000    0.0000000000
    0.2500000000    0.0000000000
    0.5000000000    0.0000000000
    0.7500000000    0.0000000000
    1.0000000000    0.0000000000
    0.0000000000    0.2500000000
    0.2500000000    0.2500000000
    0.5000000000    0.2500000000
    0.7500000000    0.2500000000
    1.0000000000    0.2500000000
    0.0000000000    0.5000000000
    0.2500000000    0.5000000000
    0.5000000000    0.5000000000
    0.7500000000    0.5000000000
    1.0000000000    0.5000000000
    0.0000000000    0.7500000000
    0.2500000000    0.7500000000
    0.5000000000    0.7500000000
    0.7500000000    0.7500000000
    1.0000000000    0.7500000000
    0.0000000000    1.0000000000
    0.2500000000    1.0000000000
    0.5000000000    1.0000000000
    0.7500000000    1.0000000000
    1.0000000000    1.0000000000
#
CUBE 
map 0 1 3 2 4 5 7 6
       1       2       7       6
       2       3       8       7
       3       4       9       8
       4       5      10       9
       6       7      12      11
       7       8      13      12
       8       9      14      13
       9      10      15      14
      11      12      17      16
      12      13      18      17
      13      14      19      18
      14      15      20      19
      16      17      22      21
      17      18      23      22
      18      19      24      23
      19      20      25      24
# 
BOUNDARYDOMAIN
default 1     
#
# 



More information about the Dune mailing list