Skip to content

Commit

Permalink
Select correct code path for neighbor elements in FEEvaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
bergbauer committed Mar 17, 2023
1 parent ee01d7e commit e458bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions include/deal.II/matrix_free/fe_evaluation.h
Original file line number Diff line number Diff line change
Expand Up @@ -3422,9 +3422,7 @@ FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
internal::is_vectorizable<VectorType, Number>::value>
vector_selector;

const bool is_neighbor_cells = !is_face && !this->is_interior_face();
const bool use_vectorized_path =
!(masking_is_active || is_neighbor_cells || has_hn_constraints);
const bool use_vectorized_path = !(masking_is_active || has_hn_constraints);

const std::size_t dofs_per_component = this->data->dofs_per_component_on_cell;
std::array<VectorizedArrayType *, n_components> values_dofs;
Expand Down
2 changes: 1 addition & 1 deletion tests/matrix_free/fe_evaluation_shift.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ namespace dealii

this->cell_type =
this->matrix_free->get_mapping_info().cell_type[cell_batch_index];
this->cell = cell_batch_index;
this->cell = numbers::invalid_unsigned_int;
this->face_orientations[0] = 0;
this->subface_index = GeometryInfo<dim>::max_children_per_cell;
this->face_numbers[0] = face_number;
Expand Down

0 comments on commit e458bde

Please sign in to comment.