This commit is contained in:
Vasco C. B. Ferreira
2026-07-08 20:39:36 +02:00
parent 576655ae27
commit 59b95dd096
2 changed files with 11 additions and 4 deletions
-3
View File
@@ -46,9 +46,6 @@ void CellLocator<dim>::rebuild(const DoFHandler<dim> &dof_handler,
info.lower = cell->vertex(0);
info.upper = cell->vertex(GeometryInfo<dim>::vertices_per_cell - 1);
if (info.lower[0] > info.upper[0])
std::swap(info.lower, info.upper);
info.h = info.upper[0] - info.lower[0];
cells.push_back(info);