Skip to content

Commit 81e36ff

Browse files
author
Nathaniel Morgan
committed
fixed cuda device-to-host copy bug in RZ and sgtm
1 parent b880852 commit 81e36ff

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

single-node-refactor/src/Solvers/SGH_solver_rz/src/sgh_setup_rz.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ void SGHRZ::fill_regions_sgh_rz(const Material_t& Materials,
266266
GaussPoint_sie.update_host();
267267
GaussPoint_volfrac.update_host();
268268
node_vel.update_host();
269+
num_mats_saved_in_elem.update_host();
269270

270271
Kokkos::fence();
271272

single-node-refactor/src/Solvers/SGTM_solver_3D/src/sgtm_setup.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ void SGTM3D::fill_regions_sgtm(
247247
GaussPoint_volfrac.update_host();
248248
State.node.vel.update_host();
249249
State.node.temp.update_host();
250+
num_mats_saved_in_elem.update_host();
250251

251252
Kokkos::fence();
252253
} // end SGH fill regions

single-node-refactor/src/common/include/mesh_io.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2769,6 +2769,7 @@ class MeshWriter
27692769
} // end if state is to be written
27702770

27712771

2772+
// will drop ensight outputs in the near future
27722773
if (SimulationParamaters.output_options.format == output_options::ensight){
27732774
write_ensight(mesh,
27742775
State,

0 commit comments

Comments
 (0)