Commit 23ade7e
Apply transfer2cpu before calling custom_quantity in PostprocessCallback
- Added transfer2cpu calls for dv_ode, du_ode, v_ode, and u_ode before passing them to custom_quantity
- This matches the pattern used in write_vtk.jl
- Users no longer need to handle GPU arrays in their custom_quantity functions
Co-authored-by: efaulhaber <44124897+efaulhaber@users.noreply.github.com>1 parent 30facd8 commit 23ade7e
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| |||
265 | 269 | | |
266 | 270 | | |
267 | 271 | | |
268 | | - | |
| 272 | + | |
| 273 | + | |
269 | 274 | | |
270 | 275 | | |
271 | 276 | | |
| |||
0 commit comments