Assert(dcv.distorted_cells.front() == coarse_grid.begin(0),
ExcInternalError());
}
+ catch (ExceptionBase &exc)
+ {
+ deallog << exc.get_exc_name() << std::endl;
+ flag = true;
+ }
Assert(flag == true, ExcInternalError());
}
DEAL::Pinched cell in 1d
-DEAL::1 distorted cells
+DEAL::ExcGridHasInvalidCell(cell_no)
DEAL::Pinched cell in 2d
DEAL::1 distorted cells
DEAL::Pinched cell in 3d
DEAL::1 distorted cells
DEAL::Twisted cell in 1d
-DEAL::1 distorted cells
+DEAL::ExcGridHasInvalidCell(cell_no)
DEAL::Twisted cell in 2d
-DEAL::1 distorted cells
+DEAL::ExcGridHasInvalidCell(cell_no)
DEAL::Twisted cell in 3d
DEAL::1 distorted cells
{
gi.read_ucd(in);
}
- catch (typename Triangulation<dim>::DistortedCellList &dcv)
+ catch (ExceptionBase &exc)
{
+ deallog << exc.get_exc_name() << std::endl;
flag = true;
-
- deallog << dcv.distorted_cells.size() << " distorted cells" << std::endl;
- Assert(dcv.distorted_cells.front() == coarse_grid.begin(0),
- ExcInternalError());
}
Assert(flag == true, ExcInternalError());
- Assert(coarse_grid.n_levels() == 1, ExcInternalError());
- Assert(coarse_grid.n_active_cells() == 1, ExcInternalError());
}
-DEAL::1 distorted cells
-DEAL::1 distorted cells
+DEAL::ExcGridHasInvalidCell(cell_no)
+DEAL::ExcGridHasInvalidCell(cell_no)
catch (typename Triangulation<dim>::DistortedCellList &dcv)
{
flag = true;
- }
-
- Assert(flag == true, ExcInternalError());
- // now build an FEValues object and compute quadrature points on that cell
- FE_Nothing<dim> dummy;
- QGauss<dim> quadrature(2);
- FEValues<dim> fe_values(dummy, quadrature, update_JxW_values);
- // should throw an assertion
- try
- {
- fe_values.reinit(coarse_grid.begin());
+ // now build an FEValues object and compute quadrature points on that cell
+ FE_Nothing<dim> dummy;
+ QGauss<dim> quadrature(2);
+ FEValues<dim> fe_values(dummy, quadrature, update_JxW_values);
+ // should throw an assertion
+ try
+ {
+ fe_values.reinit(coarse_grid.begin());
+ }
+ catch (ExceptionBase &e)
+ {
+ deallog << e.get_exc_name() << std::endl;
+ }
}
- catch (ExceptionBase &e)
+ catch (ExceptionBase &exc)
{
- deallog << e.get_exc_name() << std::endl;
+ deallog << exc.get_exc_name() << std::endl;
+ flag = true;
}
+
+ Assert(flag == true, ExcInternalError());
}
DEAL::Twisted cell in 1d
-DEAL::(typename Mapping<dim,spacedim>::ExcDistortedMappedCell(cell->center(), det, point))
+DEAL::ExcGridHasInvalidCell(cell_no)
DEAL::Twisted cell in 2d
-DEAL::(typename Mapping<dim,spacedim>::ExcDistortedMappedCell(cell->center(), det, point))
+DEAL::ExcGridHasInvalidCell(cell_no)
DEAL::Twisted cell in 3d
-DEAL::(typename Mapping<dim,spacedim>::ExcDistortedMappedCell(cell->center(), det, point))
+DEAL::(typename Mapping<dim, spacedim>::ExcDistortedMappedCell( cell->center(), det, point))