[bugfix]Add copy/move assignment for UGGridEntity
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.