int GetMetadata(std::string repository, size_t &ncpu, size_t &ndim, size_t &levelmin, size_t &levelmax, size_t &ngridmax, size_t &nstep_coarse, double &boxlen, double &time, size_t &nx_sim, size_t &ny_sim, size_t &nz_sim, size_t &nboundary)
void AMR2Cube(std::string repository, int varid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int level, double *cube_lmax, int n1, int n2, int n3)