Skip to content

Commit

Permalink
elem of MP as before
Browse files Browse the repository at this point in the history
  • Loading branch information
dhyan1272 committed Aug 2, 2024
1 parent f46e91e commit e2c2764
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pmpo_MPMesh_assembly.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ void MPMesh::assemblyElm0() {
}
}

//Kokkos::atomic_add(&mpsPerElm(elm),1);
auto elm_mp=mpCurElmID(mp);
Kokkos::atomic_add(&mpsPerElm(elm_mp),1);
Kokkos::atomic_add(&mpsPerElm(elm),1);
//auto elm_mp=mpCurElmID(mp);
//Kokkos::atomic_add(&mpsPerElm(elm_mp),1);

for(int j=0;j<numEntries;j++){
Kokkos::atomic_add(&meshField(elm,j), mpData(mp,0));
Expand Down

0 comments on commit e2c2764

Please sign in to comment.