Cosmetic changes

This commit is contained in:
Jan Petykiewicz 2017-09-25 00:41:00 -07:00
parent 66db2398ff
commit e0ed0a324c

View File

@ -28,10 +28,10 @@ class Grid(object):
is generated based on the coordinates of the boundary points). Also does is generated based on the coordinates of the boundary points). Also does
straightforward natural <-> grid unit conversion. straightforward natural <-> grid unit conversion.
self.grids[i][a,b,c] contains the value of epsilon for the cell located at self.grids[i][a,b,c] contains the value of epsilon for the cell located around
(xyz[0][a]+dxyz[0][a]*shifts[i, 0], (xyz[0][a] + dxyz[0][a] * shifts[i, 0],
xyz[1][b]+dxyz[1][b]*shifts[i, 1], xyz[1][b] + dxyz[1][b] * shifts[i, 1],
xyz[2][c]+dxyz[2][c]*shifts[i, 2]). xyz[2][c] + dxyz[2][c] * shifts[i, 2]).
You can get raw edge coordinates (exyz), You can get raw edge coordinates (exyz),
center coordinates (xyz), center coordinates (xyz),
cell sizes (dxyz), cell sizes (dxyz),