> ./step-16
> DEAL::Cycle 0
> --------------------------------------------------------
> An error occurred in line <1630> of file
> <source/multigrid/mg_dof_handler.cc> in function unsigned int
> dealii::MGDoFHandler<<anonymous>, <anonymous> >::n_dofs(unsigned int) const
> [with int dim = 2, int spacedim = 2] The violated condition was:
> level < mg_used_dofs.size()
> The name and call sequence of the exception was:
> ExcInvalidLevel(level)
> Additional Information:
> The given level 2 is not in the valid range!
I don't see this on linux, but the function is called from
void LaplaceProblem<dim>::setup_system ()
{
[...]
for (unsigned int l=0;l<triangulation.n_levels();++l)
deallog << " " << 'L' << l << ": "
<< mg_dof_handler.n_dofs(l);
and I have changed Triangulation.n_levels() yesterday. Can you try to see in
gdb what the value of mg_used_dofs.size() is in MGDoFHandler::n_dofs as well
as what n_levels() returns in setup_system()?
Thanks
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii