Skip to content

[bugfix]Add copy/move assignment for UGGridEntity

Carsten Gräser requested to merge bugfix/make-uggridentity-assignable into master

In the case 0<codim<dim, a UGGridEntity contains a std::unique_ptr. Hence the default copy assignment operator cannot work. This patch adds a custom copy assignment operator and marks the move assignment operator as default to fix the bug.

This also extends the gridcheck to reveal the problem.

Merge request reports

Loading