com1DFA.DFAtools.getAreaMesh¶
- getAreaMesh(Nx, Ny, Nz, csz, num)[source]¶
Get area of grid cells.
- Parameters
Nx (2D numpy array) – x component of the normal vector field on grid points
Ny (2D numpy array) – y component of the normal vector field on grid points
Nz (2D numpy array) – z component of the normal vector field on grid points
csz (float) – cellsize of the grid
- Returns
A – Area of grid cells
- Return type
2D numpy array