Ian Jauslin
summaryrefslogtreecommitdiff
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/init.h
parent6b96c2d9461d59662705da766d13318b3cb0da2d (diff)
savefile and initfile
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.h b/src/init.h
index 8631b38..caa7e2e 100644
--- a/src/init.h
+++ b/src/init.h
@@ -1,10 +1,15 @@
#ifndef INIT_H
#define INIT_H
+#include <stdio.h>
+
// random initial condition
int init_random(_Complex double* u0, int K1, int K2, int seed);
// Gaussian initial condition
int init_gaussian(_Complex double* u0, int K1, int K2);
+// Initialize from file
+int init_file (_Complex double* u0, int K1, int K2, FILE* initfile);
+
#endif