Skip to content

Commit 89ecc09

Browse files
committed
update petsc reader with new dimension syntax
1 parent d25c7ce commit 89ecc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/petclaw/io/petsc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def read(solution,frame,path='./',file_prefix='claw',read_aux=False,options={}):
176176
dimensions = []
177177
for i in xrange(num_dim):
178178
dimensions.append(
179-
petclaw.Dimension(names[i],lower[i],lower[i] + n[i]*d[i],n[i]))
179+
petclaw.Dimension(lower[i],lower[i] + n[i]*d[i],n[i],name=names[i]))
180180
patch = petclaw.Patch(dimensions)
181181
patch.level = level
182182
state = petclaw.State(patch,num_eqn,num_aux)

0 commit comments

Comments
 (0)