#include <restart.h>
|
template<typename T > |
bool | save_disk (const std::string label, const int index, const int size, T *data, const bool error_quit=true) const |
|
template<typename T > |
bool | load_disk (const std::string label, const int index, const int size, T *data, const bool error_quit=true) const |
|
|
void | write_file1 (const std::string &file_name, const void *const ptr, const size_t size) const |
|
void | read_file1 (const std::string &file_name, void *const ptr, const size_t size) const |
|
bool | write_file2 (const std::string &file_name, const void *const ptr, const size_t size, const bool error_quit=true) const |
|
bool | read_file2 (const std::string &file_name, void *const ptr, const size_t size, const bool error_quit=true) const |
|
◆ load_disk()
bool Restart::load_disk |
( |
const std::string |
label, |
|
|
const int |
index, |
|
|
const int |
size, |
|
|
T * |
data, |
|
|
const bool |
error_quit = true |
|
) |
| const |
|
inline |
◆ read_file1()
void Restart::read_file1 |
( |
const std::string & |
file_name, |
|
|
void *const |
ptr, |
|
|
const size_t |
size |
|
) |
| const |
|
private |
◆ read_file2()
bool Restart::read_file2 |
( |
const std::string & |
file_name, |
|
|
void *const |
ptr, |
|
|
const size_t |
size, |
|
|
const bool |
error_quit = true |
|
) |
| const |
|
private |
◆ save_disk()
bool Restart::save_disk |
( |
const std::string |
label, |
|
|
const int |
index, |
|
|
const int |
size, |
|
|
T * |
data, |
|
|
const bool |
error_quit = true |
|
) |
| const |
|
inline |
◆ write_file1()
void Restart::write_file1 |
( |
const std::string & |
file_name, |
|
|
const void *const |
ptr, |
|
|
const size_t |
size |
|
) |
| const |
|
private |
◆ write_file2()
bool Restart::write_file2 |
( |
const std::string & |
file_name, |
|
|
const void *const |
ptr, |
|
|
const size_t |
size, |
|
|
const bool |
error_quit = true |
|
) |
| const |
|
private |
◆ folder
std::string Restart::folder |
◆ info_load
◆ info_save
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/restart.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/restart.cpp