Ricky,

> I have gone through it over and over again and still get the same error
> report. The mesh actually works perfectly for example 5, so I presume it
> has cells. I have attached my gmsh code so u could help me figure out the
> error. As I said, I'm quite new to this programming environment. Thanks a

The problem is that you call setup_dofs() *before* reading the mesh in your 
program. At that time, there are no degrees of freedom to be distributed, and 
so the call fails.

If you move the call to setup_dofs() in run() *after* reading the mesh, 
everything works just fine.

Best
 W.

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

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to