-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Found on line 36 in AdvectionDiffusionModel constructor:
#coords is a D x (Nt,Nx,Ny) array of locations of the grid vertices.
#TODO Maybe write more neatly...
tt=np.linspace(0.0,self.boundary[1][0],self.resolution[0])
xx=np.linspace(0.0,self.boundary[1][1],self.resolution[1])
yy=np.linspace(0.0,self.boundary[1][2],self.resolution[2])
self.coords=np.asarray(np.meshgrid(tt,xx,yy,indexing='ij'))
advectionGP/advectionGP/models.py
Line 38 in 182a7c4
| tt=np.linspace(0.0,self.boundary[1][0],self.resolution[0]) |
The linspace presumably shoundn't start at 0?
Need to write a unit test for boundary.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working