|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Implements logic pertaining to reading and writing data. More...
#include <math.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <algorithm>#include <ctime>#include <filesystem>#include <fstream>#include <iostream>#include <string>#include <unordered_set>#include "../grid/grid3D.h"#include "../io/WriterManager.h"#include "../io/io.h"#include "../utils/cuda_utilities.h"#include "../utils/hydro_utilities.h"#include "../utils/mhd_utilities.h"#include "../utils/timing_functions.h"#include "../utils/DeviceVector.h"#include "../utils/error_handling.h"
Functions | |
| void | Create_Log_File (struct Parameters P) |
| void | Write_Message_To_Log_File (const char *message) |
| void | Write_Data (Grid3D &G, struct Parameters P, int nfile, const io::WriterManager &write_manager) |
| int | chprintf (const char *__restrict sdata,...) |
| void | Write_Debug (Real *Value, const char *fname, int nValues, int iProc) |
| void | Ensure_Dir_Exists (std::string dir_path) |
Implements logic pertaining to reading and writing data.
| void Write_Data | ( | Grid3D & | G, |
| struct Parameters | P, | ||
| int | nfile, | ||
| const io::WriterManager & | write_manager | ||
| ) |
Write all data files
| G | the grid object |
| P | the parameter struct |
| nfile | the index corresponding to the current output |
| writer_manager | Manages the data writers. |