Skip to content

Commit

Permalink
Merge pull request clawpack#518 from ketch/more_edge_functions
Browse files Browse the repository at this point in the history
Add missing backward-compatible c_edges and p_edges to grid.
  • Loading branch information
ketch committed May 21, 2015
2 parents 7bcae7b + 6454833 commit 92e775a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pyclaw/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,14 @@ def p_nodes_with_ghost(self,num_ghost):

# ========================================================================
# Edges: deprecated; will be removed in 6.0
@property
def c_edges(self):
warnings.warn(deprec_message)
return self.c_nodes
@property
def p_edges(self):
warnings.warn(deprec_message)
return self.p_nodes
def p_edges_with_ghost(self,num_ghost):
warnings.warn(deprec_message)
return self.p_nodes_with_ghost(num_ghost)
Expand Down

0 comments on commit 92e775a

Please sign in to comment.