jsitaraman / tioga

Tioga is a library for overset grid assembly on parallel distributed systems
GNU Lesser General Public License v3.0
64 stars 36 forks source link

a bug in exchangeAMRDonor.C #64

Open SenhuWong opened 2 years ago

SenhuWong commented 2 years ago

There seems to be a bug In exchangeAMRDonor.C . At Line 121 to 153 the data was packed MeshBlock-wise as suggeted below [ [block 0's receptor, block 0's donor], [block 1's receptor, block 1's donor], ] However at line 177 to 206 the packed data was decoded type-wise as suggested below [ [receptor from all blocks], [donor from all blocks] ] This could be fixed by iterating each meshBlock first for each type of data at encode time and it worked for me. I'am new to this so I hope I have made myself clear.