I was experimenting with Dealii examples and stumbled on some error I can not
find a reason for.
I modified the example step-36 by defining an area like a pyramid on top of a
truncated pyramid.
I constructed the truncated pyramid from 5 simplexes and top pyramid of 2
simplexes by merging
these 7 triangulations.
At running the program stops with the error:
./step-36.exe
   Number of active cells:       224
   Number of degrees of freedom: 327
[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: New nonzero at (3,3) caused a malloc

You are writing into a matrix entry that does not exist, i.e., that has not been allocated in the sparsity pattern. Why this happens is difficult to tell, but you ought to find out why your program writes into entry (3,3) of the matrix, and why that entry has not been allocated before.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to