diff --git a/mesh.hh b/mesh.hh index 3d5a04f..594e8d8 100644 --- a/mesh.hh +++ b/mesh.hh @@ -936,6 +936,9 @@ public: //! assign (element-wise) two grid hierarchies GridHierarchy& operator=( const GridHierarchy& gh ) { + bhave_refmask = gh.bhave_refmask; + ref_mask = gh.ref_mask; + if( !is_consistent(gh) ) { for( unsigned i=0; i