Hipace
Namespaces | Functions
IOUtil.H File Reference
#include <AMReX_REAL.H>
#include <AMReX_IntVect.H>
#include <AMReX_RealVect.H>
#include <AMReX_MultiFab.H>
#include <cstdint>
#include <vector>

Go to the source code of this file.

Namespaces

 utils
 

Functions

std::vector< double > utils::getRelativeCellPosition (amrex::Box const &box)
 
std::vector< std::uint64_t > utils::getReversedVec (const amrex::IntVect &v)
 Convert an IntVect to a std::vector<std::uint64_t> and reverse the order of the elements (used for compatibility with the openPMD API) More...
 
std::vector< double > utils::getReversedVec (const amrex::Real *v)
 Convert Real* pointer to a std::vector<double>, and reverse the order of the elements (used for compatibility with the openPMD API) More...
 
bool utils::doDiagnostics (int output_period, int output_step, int max_step, amrex::Real output_time, amrex::Real max_time)
 returns whether output should be writen to file More...