1 #ifndef WARPX_FLUSHFORMATSENSEI_H_ 2 #define WARPX_FLUSHFORMATSENSEI_H_ 6 #include <AMReX_AmrMesh.H> 7 #if defined(BL_USE_SENSEI_INSITU) 8 # include <AMReX_AmrMeshInSituBridge.H> 11 using AmrMeshInSituBridge = void;
48 virtual void WriteToFile (
49 const amrex::Vector<std::string> varnames,
50 const amrex::Vector<amrex::MultiFab>& mf,
51 amrex::Vector<amrex::Geometry>& geom,
52 const amrex::Vector<int> iteration,
const double time,
53 const amrex::Vector<ParticleDiag>& particle_diags,
int nlev,
const std::string prefix,
55 bool plot_raw_fields_guards,
56 bool plot_raw_rho,
bool plot_raw_F)
const override;
61 void WriteParticles(
const amrex::Vector<ParticleDiag>& particle_diags)
const;
65 int m_insitu_pin_mesh = 0;
66 amrex::AmrMeshInSituBridge * m_insitu_bridge =
nullptr;
67 amrex::AmrMesh * m_amr_mesh =
nullptr;
70 #endif // WARPX_FLUSHFORMATSENSEI_H_