> 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/

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

Reply via email to