/opt/arm/gcc-14.2.0_AmazonLinux-2023/lib/gcc/aarch64-linux-gnu/14.2.0/../../../../include/c++/14.2.0/bits/stl_algobase.h: 238 - 238 -------------------------------------------------------------------------------- 238: if (__b < __a) /opt/arm/gcc-14.2.0_AmazonLinux-2023/lib/gcc/aarch64-linux-gnu/14.2.0/../../../../include/c++/14.2.0/bits/stl_vector.h: 1131 - 1131 -------------------------------------------------------------------------------- 1131: return *(this->_M_impl._M_start + __n); /home/fmusial/MD_Benchmarks/simulation.cpp: 41 - 68 -------------------------------------------------------------------------------- 41: #pragma omp parallel 42: #endif 43: { 44: int thread_id = 0; 45: #ifdef USE_OPENMP 46: thread_id = omp_get_thread_num(); 47: #endif 48: auto& localSizes = threadCellSizes[thread_id]; 49: 50: #ifdef USE_OPENMP 51: #pragma omp for nowait 52: #endif 53: for (int i = 0; i < NUM_PARTICLES; ++i) { 54: double x = particles.x[i]; 55: double y = particles.y[i]; 56: double z = particles.z[i]; 57: 58: int cx = static_cast(x / cellList.cell_size); 59: int cy = static_cast(y / cellList.cell_size); 60: int cz = static_cast(z / cellList.cell_size); 61: 62: cx = std::min(std::max(cx, 0), cellList.num_cells - 1); 63: cy = std::min(std::max(cy, 0), cellList.num_cells - 1); 64: cz = std::min(std::max(cz, 0), cellList.num_cells - 1); 65: 66: int cellIndex = cx + cy * cellList.num_cells + cz * cellList.num_cells * cellList.num_cells; 67: 68: localSizes[cellIndex]++;