Skip to content

Commit bd209f4

Browse files
author
Michael Zingale
committed
t doesn't live on the grid, it is part of the data
1 parent a517688 commit bd209f4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

mesh/patch.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ def __init__ (self, nx, ny, ng=1, \
225225
Physical coordinate at the upper y boundary
226226
"""
227227

228-
# time
229-
self.t = -1.0
230-
231228
# size of grid
232229
self.nx = nx
233230
self.ny = ny
@@ -373,8 +370,12 @@ def __init__ (self, grid, dtype=numpy.float64):
373370

374371
self.BCs = {}
375372

373+
# time
374+
self.t = -1.0
375+
376376
self.initialized = 0
377377

378+
378379
def register_var(self, name, bc_object):
379380
"""
380381
Register a variable with CellCenterData2d object.

0 commit comments

Comments
 (0)