25 #ifndef AMR_YT_WRITER_H
26 #define AMR_YT_WRITER_H
30 #include <boost/filesystem.hpp>
81 amrex::Vector<int>& which,
82 amrex::Vector<int>& count,
83 amrex::Vector<long>&
where,
85 const double gamma)
const;
PETE_TTTree< OpWhere, typename Cond_t::PETE_Expr_t, typename True_t::PETE_Expr_t, PETE_Scalar< Vektor< T, Dim > > > where(const PETE_Expr< Cond_t > &c, const PETE_Expr< True_t > &t, const Vektor< T, Dim > &f)
amrex::Vector< AmrVectorField_t > AmrVectorFieldContainer_t
amrex::Vector< AmrGeometry_t > AmrGeomContainer_t
amrex::Vector< std::unique_ptr< AmrField_t > > AmrScalarFieldContainer_t
amrex::Vector< int > AmrIntArray_t
std::vector< std::string > intData_m
integer bunch data
std::vector< std::string > realData_m
real bunch data
AmrYtWriter(int step, int bin=0)
void writeFields(const amr::AmrScalarFieldContainer_t &rho, const amr::AmrScalarFieldContainer_t &phi, const amr::AmrVectorFieldContainer_t &efield, const amr::AmrIntArray_t &refRatio, const amr::AmrGeomContainer_t &geom, const int &nLevel, const double &time, const double &scale)
std::string dir_m
directory where to write files
void writeParticles_m(int level, std::ofstream &ofs, int fnum, amrex::Vector< int > &which, amrex::Vector< int > &count, amrex::Vector< long > &where, const AmrPartBunch *bunch_p, const double gamma) const
void writeBunch(const AmrPartBunch *bunch_p, const double &time, const double &gamma)