locator with refinement tree implemented, to test

This commit is contained in:
Vasco C. B. Ferreira
2026-07-30 21:01:47 +02:00
parent e90b43d506
commit 2143e7a31f
4 changed files with 117 additions and 78 deletions
+4 -4
View File
@@ -72,12 +72,12 @@ template <int dim> struct GridStructure {
const auto cell_location = locator->locate(points[p]);
cell_location.info->cell->get_dof_values(solution,
local_solution_buffer.begin(),
local_solution_buffer.end());
cell_location.cell->get_dof_values(solution,
local_solution_buffer.begin(),
local_solution_buffer.end());
evaluator.reinit(
cell_location.info->cell,
cell_location.cell,
ArrayView<const Point<dim>>(&cell_location.reference_point, 1));
evaluator.evaluate(local_solution_buffer, EvaluationFlags::gradients);