File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ void initializeGrids(
184184 initSpatialCellCoordinates (mpiGrid);
185185 phiprof::stop (" Set spatial cell coordinates" );
186186
187- SpatialCell::set_mpi_transfer_type (Transfer::CELL_PARAMETERS );
187+ SpatialCell::set_mpi_transfer_type (Transfer::CELL_DIMENSIONS );
188188 mpiGrid.update_copies_of_remote_neighbors (SYSBOUNDARIES_NEIGHBORHOOD_ID);
189189
190190 phiprof::start (" Initialize system boundary conditions" );
Original file line number Diff line number Diff line change @@ -664,8 +664,8 @@ namespace spatial_cell {
664664
665665 // send spatial cell dimensions
666666 if ((SpatialCell::mpi_transfer_type & Transfer::CELL_DIMENSIONS)!=0 ){
667- displacements.push_back ((uint8_t *) &(this ->parameters [CellParams::DX ]) - (uint8_t *) this );
668- block_lengths.push_back (sizeof (Real) * 3 );
667+ displacements.push_back ((uint8_t *) &(this ->parameters [CellParams::XCRD ]) - (uint8_t *) this );
668+ block_lengths.push_back (sizeof (Real) * 6 );
669669 }
670670
671671 // send BGBXVOL BGBYVOL BGBZVOL PERBXVOL PERBYVOL PERBZVOL
You can’t perform that action at this time.
0 commit comments