Skip to content

Commit

Permalink
Merge pull request #334 from ifranda/issue_332
Browse files Browse the repository at this point in the history
Removed Redundant Code for Representing Dual Meshes
  • Loading branch information
philipc2 authored May 31, 2023
2 parents efca32e + d41742c commit 8ca155d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions uxarray/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,11 +704,6 @@ def _build_nNodes_per_face(self):
"""Constructs ``nNodes_per_face``, which contains the number of non-
fill-value nodes for each face in ``Mesh2_face_nodes``"""

# Triangular Mesh (No Fill Values)
if not hasattr(self, "nMaxMesh2_face_nodes"):
nMaxMesh2_face_nodes = self.Mesh2_face_nodes.shape[1]
setattr(self, "nMaxMesh2_face_nodes", nMaxMesh2_face_nodes)

# padding to shape [nMesh2_face, nMaxMesh2_face_nodes + 1]
closed = np.ones((self.nMesh2_face, self.nMaxMesh2_face_nodes + 1),
dtype=INT_DTYPE) * INT_FILL_VALUE
Expand Down

0 comments on commit 8ca155d

Please sign in to comment.