Thanks a lot W, 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 lot
--- On Fri, 15/1/10, Wolfgang Bangerth <[email protected]> wrote: > From: Wolfgang Bangerth <[email protected]> > Subject: Re: [deal.II] importing mesh > To: [email protected] > Cc: "Ricky Donyina-Ameyaw" <[email protected]> > Date: Friday, 15 January, 2010, 0:42 > > > An error occurred in line <1955> of file > <source/dofs/dof_handler.cc> in > > function void dealii::DoFHandler<dim, > spacedim>::distribute_dofs(const > > dealii::FiniteElement<dim, spacedim>&, > unsigned int) [with int dim = 2, > > int spacedim = 2] The violated condition was: > > tria->n_levels() > 0 > > The name and call sequence of the exception was: > > ExcInvalidTriangulation() > > Additional Information: > > This means that the triangulation doesn't currently store > any cells. > Without seeing the code it's hard to tell what is going on, > but my guess > is that importing the mesh doesn't happen -- either because > you forgot the > call that actually reads the mesh, or because the file you > try to read > doesn't have any cells. > > Best > W. > > ------------------------------------------------------------------------- > Wolfgang Bangerth > email: > [email protected] > > > www: http://www.math.tamu.edu/~bangerth/ > >
quadmesh.geo
Description: Binary data
quadmesh.msh
Description: Mesh model
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
