Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers authored Oct 16, 2023
1 parent ae7a181 commit 1257602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Extern/HDF5/AMReX_ParticleHDF5.H
Original file line number Diff line number Diff line change
Expand Up @@ -711,13 +711,13 @@ ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt, Allocator, CellAssig
if (count[grid] == 0)
continue;

int_size = count[grid] * (2 + NStructInt + NArrayInt + NumRuntimeIntComps());
int_size = count[grid] * (2 + NStructInt + NumIntComps());
my_mfi_int_size.push_back(int_size);
my_nparticles.push_back(count[grid]);
my_mfi_int_total_size += int_size;


real_size = count[grid] * (AMREX_SPACEDIM + NStructReal + NArrayReal + NumRuntimeRealComps() );
real_size = count[grid] * (AMREX_SPACEDIM + NStructReal + NumRealComps());
my_mfi_real_size.push_back(real_size);
my_mfi_real_total_size += real_size;
my_mfi_cnt++;
Expand Down

0 comments on commit 1257602

Please sign in to comment.