> Then, when I tried to import the mesh into deal.ii and it gave the > error: > > terminate called after throwing an instance of > 'dealii::StandardExceptions::ExcInternalError' > what(): -------------------------------------------------------- > An error occurred in line <642> of file > </home/zerpiko/FEM/deal.II/source/grid/grid_reordering.cc> in function > static void dealii::GridReordering<dim, > spacedim>::invert_all_cells_of_negative_grid(const > std::vector<dealii::Point<spacedim> >&, > std::vector<dealii::CellData<dim> >&) [with int dim = 2, int spacedim = > 2] > The violated condition was: > n_negative_cells==0 || n_negative_cells==cells.size() > The name and call sequence of the exception was: > ExcInternalError() > Additional Information: > (none) > -------------------------------------------------------- > > I think is something related with reordering cells. There are any other > restrictions that a mesh must fulfill? Tnks.
It's hard to tell without a concrete input file. I believe what the error message is trying to tell you is that the code found that some of your cells have negative volume since the vertices are specified in the wrong order or the cell is degenerate, but that not *all* cells have negative volume (in which case one could simply flip all cells). You'll have to take a look at the input file to find out whether it's an error in the code or whether it's a problem in the input mesh. Best W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
