thanks very much Wolf,
I did that and it works just fine.
Thanks a lot
ricky



----- Original Message ----
From: Wolfgang Bangerth <[email protected]>
To: [email protected]
Cc: Ricky Donyina-Ameyaw <[email protected]>
Sent: Tue, 19 January, 2010 12:14:05
Subject: Re: [deal.II] importing mesh


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