Skip to content

Commit

Permalink
Shorten docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFP committed May 3, 2024
1 parent b1cc83d commit 1f2307b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,22 @@ def __init__(

@property
def r_min_cell(self):
"""Get radial position of first grid cell (ignoring guard cells)."""
"""Radial position of first cell (ignoring guard cells)."""
return self.r_grid[0]

@property
def r_max_cell(self):
"""Get radial position of last grid cell (ignoring guard and border cells)."""
"""Radial position of last cell (ignoring guard and border cells)."""
return self.r_grid[-1 - self.nr_border]

@property
def r_max(self):
"""Get radial extent of the grid, ignoring guard and border cells."""
"""Radial extent of the grid, ignoring guard and border cells."""
return self.r_max_cell + 0.5 * self.dr

@property
def r_max_cell_guard(self):
"""Get radial position of last guard grid cell."""
"""Radial position of last guard grid cell."""
return self.r_grid[-1] + 2 * self.dr

def update_if_needed(self, x, y, xi, n_p, pp_hist):
Expand Down

0 comments on commit 1f2307b

Please sign in to comment.