forked from openecloud/openecloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.pxd
52 lines (46 loc) · 2 KB
/
grid.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
cimport numpy
cdef class Grid:
cdef:
unsigned int nx, ny, np, nxExt, nyExt, npExt
double lx, ly, lxExt, lyExt, dx, dy, cutCellAcc, cutCellMinEdgeLength, scanAroundPoint
double[:] xMesh, yMesh, cosAlpha, sinAlpha, cosBeta, sinBeta
double[:] ds, dsi, da, dai, dst, dsti, dat, dati
double[:,:] boundaryPoints
unsigned int[:] boundaryPointsInd
int[:,:] cutCellPointsInd
double[:,:] cutCellCenter
double[:,:] cutCellNormalVectors
unsigned short[:] insidePoints, insideEdges, insideFaces
object boundFunc, edgeToNode
double[:,:] boundFuncPoints
unsigned int nBoundFuncPoints
void computeStaircaseGridGeom(Grid self)
void computeCutCellGridGeom(Grid self)
void prepareBoundFuncPoints(Grid self, double[:,:] boundFuncPoints)
cpdef unsigned int pointInPolygon(Grid self, double xx, double yy)
cpdef double getDx(Grid self)
cpdef double getDy(Grid self)
cpdef double getLx(Grid self)
cpdef double getLy(Grid self)
cpdef unsigned int getNx(Grid self)
cpdef unsigned int getNy(Grid self)
cpdef unsigned int getNp(Grid self)
cpdef double[:] getXMesh(Grid self)
cpdef double[:] getYMesh(Grid self)
cpdef double[:] getDs(Grid self)
cpdef double[:] getDst(Grid self)
cpdef double getLxExt(Grid self)
cpdef double getLyExt(Grid self)
cpdef double getDx(Grid self)
cpdef double getDy(Grid self)
cpdef unsigned int getNxExt(Grid self)
cpdef unsigned int getNyExt(Grid self)
cpdef unsigned int getNpExt(Grid self)
cpdef double[:,:] getBoundaryPoints(Grid self)
cpdef unsigned int[:] getBoundaryPointsInd(Grid self)
cpdef int[:,:] getCutCellPointsInd(Grid self)
cpdef object getBoundFunc(Grid self)
cpdef unsigned short[:] getInsideFaces(Grid self)
cpdef unsigned int[:] getInCell(Grid self)
cpdef double[:,:] getCutCellCenter(Grid self)
cpdef double[:,:] getCutCellNormalVectors(Grid self)