1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-19 17:03:46 +02:00

fixed a bug that caused refinement masks (i.e. ellipsoid) not being applied properly when using 2LPT

This commit is contained in:
Oliver Hahn 2013-05-27 15:22:16 +02:00
parent 2fa018e6cf
commit 32f721f77c

View file

@ -936,6 +936,9 @@ public:
//! assign (element-wise) two grid hierarchies
GridHierarchy<T>& operator=( const GridHierarchy<T>& gh )
{
bhave_refmask = gh.bhave_refmask;
ref_mask = gh.ref_mask;
if( !is_consistent(gh) )
{
for( unsigned i=0; i<m_pgrids.size(); ++i )