Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2022-05-26 15:05:30 -0400
committerIan Jauslin <ian@jauslin.org>2022-05-26 15:05:30 -0400
commitd4254c6b8e6d4a94a5448e771d8a0620f266cf05 (patch)
treee17fe36f330b12bb998ced2f9c27aee8cfb7cb89 /src/init.h
parent8877b63549a3655fa778f10f0c484ec238f1cece (diff)
choose initial condition on cli
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/init.h b/src/init.h
new file mode 100644
index 0000000..8631b38
--- /dev/null
+++ b/src/init.h
@@ -0,0 +1,10 @@
+#ifndef INIT_H
+#define INIT_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);
+
+#endif