2022-05-26 19:05:30 +00:00
|
|
|
#ifndef INIT_H
|
|
|
|
#define INIT_H
|
|
|
|
|
2022-05-27 20:09:17 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2022-05-26 19:05:30 +00:00
|
|
|
// 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);
|
|
|
|
|
2022-05-27 20:09:17 +00:00
|
|
|
// Initialize from file
|
|
|
|
int init_file (_Complex double* u0, int K1, int K2, FILE* initfile);
|
|
|
|
|
2022-05-26 19:05:30 +00:00
|
|
|
#endif
|