forked from pressel/pycles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPressureFFTParallel.pxd
More file actions
30 lines (20 loc) · 890 Bytes
/
PressureFFTParallel.pxd
File metadata and controls
30 lines (20 loc) · 890 Bytes
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
cimport ParallelMPI
cimport Grid
cimport ReferenceState
cimport SparseSolvers
cimport DiagnosticVariables
cdef class PressureFFTParallel:
cdef:
double [:] a
double [:] b
double [:] c
double [:] kx2
double [:] ky2
inline void compute_diagonal(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, Py_ssize_t i, Py_ssize_t j) nogil
cdef SparseSolvers.TDMA TDMA_Solver
cdef ParallelMPI.Pencil X_Pencil, Y_Pencil, Z_Pencil
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, ParallelMPI.ParallelMPI Pa)
cpdef compute_modified_wave_numbers(self,Grid.Grid Gr)
cpdef compute_off_diagonals(self,Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef solve(self,Grid.Grid Gr, ReferenceState.ReferenceState RS,DiagnosticVariables.DiagnosticVariables DV,
ParallelMPI.ParallelMPI PM)