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.
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.