savefile and initfile

This commit is contained in:
2022-05-27 16:09:17 -04:00
parent 6b96c2d946
commit 0cdb914b57
7 changed files with 231 additions and 21 deletions

12
src/io.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef IO_H
#define IO_H
#include <stdio.h>
// write u to file
int write_u(_Complex double* u, int K1, int K2, FILE* file);
// read u from file
int read_u(_Complex double* u, int K1, int K2, FILE* file);
#endif