From: Peter Munch Date: Wed, 27 Oct 2021 16:01:12 +0000 (+0200) Subject: MGTwoLevelTransfer: make AffineConstraints optional X-Git-Tag: v9.4.0-rc1~876^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12892%2Fhead;p=dealii.git MGTwoLevelTransfer: make AffineConstraints optional --- diff --git a/include/deal.II/multigrid/mg_transfer_global_coarsening.h b/include/deal.II/multigrid/mg_transfer_global_coarsening.h index b164c2f0e9..a02f83a821 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.h @@ -203,8 +203,10 @@ public: reinit_geometric_transfer( const DoFHandler & dof_handler_fine, const DoFHandler & dof_handler_coarse, - const AffineConstraints &constraint_fine, - const AffineConstraints &constraint_coarse, + const AffineConstraints &constraint_fine = + AffineConstraints(), + const AffineConstraints &constraint_coarse = + AffineConstraints(), const unsigned int mg_level_fine = numbers::invalid_unsigned_int, const unsigned int mg_level_coarse = numbers::invalid_unsigned_int); @@ -221,8 +223,10 @@ public: reinit_polynomial_transfer( const DoFHandler & dof_handler_fine, const DoFHandler & dof_handler_coarse, - const AffineConstraints &constraint_fine, - const AffineConstraints &constraint_coarse, + const AffineConstraints &constraint_fine = + AffineConstraints(), + const AffineConstraints &constraint_coarse = + AffineConstraints(), const unsigned int mg_level_fine = numbers::invalid_unsigned_int, const unsigned int mg_level_coarse = numbers::invalid_unsigned_int); @@ -242,8 +246,10 @@ public: void reinit(const DoFHandler & dof_handler_fine, const DoFHandler & dof_handler_coarse, - const AffineConstraints &constraint_fine, - const AffineConstraints &constraint_coarse, + const AffineConstraints &constraint_fine = + AffineConstraints(), + const AffineConstraints &constraint_coarse = + AffineConstraints(), const unsigned int mg_level_fine = numbers::invalid_unsigned_int, const unsigned int mg_level_coarse = numbers::invalid_unsigned_int);