26#include <dccrg_cartesian_geometry.hpp>
29#include "vlsv_reader_parallel.h"
41bool readGrid(dccrg::Dccrg<SpatialCell, dccrg::Cartesian_Geometry>& mpiGrid,
52bool readFileCells(dccrg::Dccrg<SpatialCell,dccrg::Cartesian_Geometry>& mpiGrid,
const std::string& name);
fsgrid::FsGrid< FS_STENCIL_WIDTH > FieldSolverGrid
bool readFsgridDecomposition(vlsv::ParallelReader &file, std::array< fsgrid::Task_t, 3 > &decomposition)
bool readIonosphereNodeVariable(vlsv::ParallelReader &file, const string &variableName, SBC::SphericalTriGrid &grid, ionosphereParameters index)
void checkExternalCommands()
Check in local directory for external commands passed to the simulation. Only executed by MASTER_RANK...
bool readFileCells(dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::string &name)
Refine the grid to be identical to the file's.
bool readGrid(dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, fsgrids::perbspan perb, fsgrids::efieldspan e, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid, const std::string &name)
Read in state from a vlsv file in order to restart simulations.
std::span< std::array< Real, fsgrids::bfield::N_BFIELD > > perbspan
std::span< technical > technicalspan
std::span< std::array< Real, fsgrids::efield::N_EFIELD > > efieldspan