Skip to content

Commit

Permalink
Refactor HangingNodes::setup_constraints()
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrum committed Nov 23, 2021
1 parent aa95195 commit 14a1c5b
Show file tree
Hide file tree
Showing 8 changed files with 641 additions and 400 deletions.
2 changes: 1 addition & 1 deletion include/deal.II/matrix_free/cuda_matrix_free.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ namespace CUDAWrappers

hanging_nodes.setup_constraints(cell,
partitioner,
lexicographic_inv,
{lexicographic_inv},
lexicographic_dof_indices,
cell_id_view);

Expand Down
6 changes: 3 additions & 3 deletions include/deal.II/matrix_free/dof_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ namespace internal
template <int dim>
bool
process_hanging_node_constraints(
const HangingNodes<dim> & hanging_nodes,
const std::vector<unsigned int> &lexicographic_mapping,
const unsigned int cell_number,
const HangingNodes<dim> & hanging_nodes,
const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
const unsigned int cell_number,
const TriaIterator<DoFCellAccessor<dim, dim, false>> &cell,
std::vector<types::global_dof_index> & dof_indices);

Expand Down
6 changes: 3 additions & 3 deletions include/deal.II/matrix_free/dof_info.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ namespace internal
template <int dim>
bool
DoFInfo::process_hanging_node_constraints(
const HangingNodes<dim> & hanging_nodes,
const std::vector<unsigned int> &lexicographic_mapping,
const unsigned int cell_number,
const HangingNodes<dim> & hanging_nodes,
const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
const unsigned int cell_number,
const TriaIterator<DoFCellAccessor<dim, dim, false>> &cell,
std::vector<types::global_dof_index> & dof_indices)
{
Expand Down

0 comments on commit 14a1c5b

Please sign in to comment.