save_state to its own function
This commit is contained in:
5
src/io.h
5
src/io.h
@@ -30,4 +30,9 @@ int read_vec_bin(_Complex double* u, int K1, int K2, FILE* file);
|
||||
// remove an entry from params string (inplace)
|
||||
int remove_entry(char* param_str, char* entry);
|
||||
|
||||
// save state to savefile
|
||||
int save_state(_Complex double* u, FILE* savefile, int K1, int K2, const char* cmd_string, const char* params_string, const char* savefile_string, const char* utfile_string, FILE* utfile, unsigned int command, unsigned int algorithm, double step, double time, unsigned int nthreads);
|
||||
|
||||
// write u to utfile in plain text
|
||||
int write_utfile(_Complex double* u, FILE* utfile, int K1, int K2);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user