Skip to content

Commit

Permalink
Global coarsening: compress weights
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrum committed Dec 20, 2021
1 parent 5cc5007 commit cfa11cf
Show file tree
Hide file tree
Showing 2 changed files with 260 additions and 42 deletions.
7 changes: 7 additions & 0 deletions include/deal.II/multigrid/mg_transfer_global_coarsening.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ class MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>
*/
std::vector<Number> weights;

/**
* Weights for continuous elements, compressed into 3^dim doubles per
* cell if possible.
*/
std::vector<std::array<VectorizedArray<Number>, Utilities::pow(3, dim)>>
weights_compressed;

/**
* DoF indices of the coarse cells, expressed in indices local to the MPI
* rank.
Expand Down

0 comments on commit cfa11cf

Please sign in to comment.