1 #ifndef AMREX_CONDUIT_BLUEPRINT_H_
2 #define AMREX_CONDUIT_BLUEPRINT_H_
3 #include <AMReX_Config.H>
17 #ifdef AMREX_PARTICLES
56 #include <conduit/conduit.hpp>
71 conduit::Node &bp_mesh);
85 conduit::Node &bp_mesh);
87 #ifdef AMREX_PARTICLES
99 template <
typename ParticleType,
int NArrayReal,
int NArrayInt>
105 conduit::Node &bp_mesh,
106 const std::string &topology_name=
"particles");
119 const std::string &fname_base =
"blueprint_out_",
121 const std::string &protocol =
"json");
125 #ifdef AMREX_PARTICLES
Rectangular problem domain geometry.
Definition: AMReX_Geometry.H:73
A collection (stored as an array) of FArrayBox objects.
Definition: AMReX_MultiFab.H:38
A distributed container for Particles sorted onto the levels, grids, and tiles of a block-structured ...
Definition: AMReX_ParticleContainer.H:145
Definition: AMReX_Amr.cpp:49
void MultiLevelToBlueprint(int n_levels, const Vector< const MultiFab * > &mfs, const Vector< std::string > &varnames, const Vector< Geometry > &geoms, Real time_value, const Vector< int > &level_steps, const Vector< IntVect > &ref_ratio, Node &res)
Definition: AMReX_Conduit_Blueprint.cpp:341
void ParticleContainerToBlueprint(const ParticleContainer_impl< ParticleType, NArrayReal, NArrayInt > &pc, const Vector< std::string > &real_comp_names, const Vector< std::string > &int_comp_names, conduit::Node &res, const std::string &topology_name)
Definition: AMReX_Conduit_Blueprint_ParticlesI.H:249
void WriteBlueprintFiles(const conduit::Node &bp_mesh, const std::string &fname_base, int step, const std::string &protocol)
Definition: AMReX_Conduit_Blueprint.cpp:463
void SingleLevelToBlueprint(const MultiFab &mf, const Vector< std::string > &varnames, const Geometry &geom, Real time_value, int level_step, Node &res)
Definition: AMReX_Conduit_Blueprint.cpp:313