We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1261883 commit ce8a525Copy full SHA for ce8a525
src/pmpo_c.cpp
@@ -268,7 +268,7 @@ template <polyMPO::MaterialPointSlice mpSlice>
268
void getMPData(MPMesh_ptr p_mpmesh,
269
const int nComps,
270
const int numMPs,
271
- double* mpDataHost){
+ double* mpDataOut){
272
checkMPMeshValid(p_mpmesh);
273
auto p_MPs = ((polyMPO::MPMesh*)p_mpmesh)->p_MPs;
274
PMT_ALWAYS_ASSERT(nComps == polyMPO::mpSliceToNumEntries<mpSlice>());
@@ -285,7 +285,7 @@ void getMPData(MPMesh_ptr p_mpmesh,
285
}
286
};
287
p_MPs->parallel_for(getData, "getMPData");
288
- kkDbl2dViewHostU arrayHost(mpDataHost,nComps,numMPs);
+ kkViewHostU<double**> arrayHost(mpDataOut,nComps,numMPs);
289
Kokkos::deep_copy(arrayHost, mpDataCopy);
290
291
0 commit comments