Skip to content

Commit

Permalink
Merge branch 'development' into update-setonix-config-new
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda authored Sep 8, 2023
2 parents c160498 + a292e79 commit d70b66d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/simulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1694,8 +1694,12 @@ template <typename problem_t> void AMRSimulation<problem_t>::RenderAscent()
conduit::Node blueprintMesh;
amrex::MultiLevelToBlueprint(finest_level + 1, mf_ptr, varnames, rescaledGeom, tNew_[0], istep, refRatio(), blueprintMesh);

// copy to host mem (needed for DataBinning)
conduit::Node bpMeshHost;
bpMeshHost.set(blueprintMesh);

// pass Blueprint mesh to Ascent, run actions
AscentCustomActions(blueprintMesh);
AscentCustomActions(bpMeshHost);
}
#endif // AMREX_USE_ASCENT

Expand Down

0 comments on commit d70b66d

Please sign in to comment.