|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
Data writer class implementation. More...
#include "data_writer.h"#include "comm.h"#include "input.h"#include <algorithm>#include <cmath>#include <cstring>#include <filesystem>#include <fstream>#include <iomanip>#include <limits>#include <numeric>#include <sstream>#include <unordered_map>#include "common_io.h"#include "log.h"#include "mesh_block.h"Functions | |
| RestartData | read_restart (const std::string &filename, const std::vector< uint64_t > *cells) |
| Read a restart file written by a DataWriter with format = "restart": every cell, or with cells, only those global cells (fields then hold their values in the order of cells). | |
Data writer class implementation.
| RestartData read_restart | ( | const std::string & | filename, |
| const std::vector< uint64_t > * | cells = nullptr |
||
| ) |
Read a restart file written by a DataWriter with format = "restart": every cell, or with cells, only those global cells (fields then hold their values in the order of cells).
Version 2 files list their variable names, version 3 files also named scalar attributes, version 4 files also face records; version 1 files hold the flow block CONSERVATIVE_NAMES only. Either must contain the flow block of this build's dimension.