Skip to content

Commit

Permalink
Document copy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Jun 6, 2019
1 parent bb86bcc commit ab5bf1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_hierarchy_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ class TestMFMeshEvaluator final
{
}

// We need a copy constructor since the evaluator has to cloned for each
// agglomerate. Here, we just copy the minimum number of member variables
// required. In particular, we should not need to copy mutable members since
// they are set up in matrix_free_initialize_agglomerate only.
TestMFMeshEvaluator(
TestMFMeshEvaluator<dim, fe_degree, ScalarType> const &_other_evaluator)
: mfmg::DealIIMatrixFreeMeshEvaluator<dim>(*this),
Expand Down

0 comments on commit ab5bf1d

Please sign in to comment.