Ian Jauslin
summaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2022-05-27 16:09:17 -0400
committerIan Jauslin <ian@jauslin.org>2022-05-27 16:09:17 -0400
commit0cdb914b5764f692189ed2bc395e3b09ead758e4 (patch)
tree91fed5d86febab728add0425e2d501a7e3cb67a1 /src/io.h
parent6b96c2d9461d59662705da766d13318b3cb0da2d (diff)
savefile and initfile
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..6a35707
--- /dev/null
+++ b/src/io.h
@@ -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