-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpy_DNS_2D_Visco.pxd
36 lines (33 loc) · 1.28 KB
/
cpy_DNS_2D_Visco.pxd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# /* -------------------------------------------------------------------------- *
# * *
# * DNS_2D_Visco.h *
# * *
# * Time stepping DNS simulation cython header *
# * *
# * *
# * -------------------------------------------------------------------------- */
# Last modified: Mon 10 Oct 14:31:50 2016
cdef extern from "include/DNS_2D_Visco.h":
ctypedef struct flow_params:
int N;
int M;
int dealiasing;
int oscillatory_flow;
int Nf;
int Mf;
double kx;
double U0;
double Re;
double Wi;
double beta;
double Omega;
double De;
double P;
double dt;
int stepsPerFrame;
int numTimeSteps;
double initTime;
cdef extern from "include/DNS_2D_Visco.h":
int DNS_2D_Visco(double complex *psi, double complex *cij, double complex
*forcing, double complex *psi_lam, double complex *opsList,
double complex *hopsList, flow_params params);