Skip to content

Commit

Permalink
advection_2d_square/setrun.py with suitable memsize as example
Browse files Browse the repository at this point in the history
  • Loading branch information
rjleveque committed Nov 5, 2020
1 parent 688c2a4 commit 5e1474b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/advection_2d_square/setrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def setrun(claw_pkg='amrclaw'):
if clawdata.output_style==1:
# Output ntimes frames at equally spaced times up to tfinal:
# Can specify num_output_times = 0 for no output
clawdata.num_output_times = 1
clawdata.tfinal = 0.2
clawdata.num_output_times = 10
clawdata.tfinal = 2.0
clawdata.output_t0 = True # output at initial (or restart) time?

elif clawdata.output_style == 2:
Expand Down Expand Up @@ -270,7 +270,7 @@ def setrun(claw_pkg='amrclaw'):
amrdata = rundata.amrdata

# memsize is initial length of alloc array used for AMR patches
amrdata.memsize = 69200
amrdata.memsize = 100000

# max1d controls size of grids
amrdata.max1d = 60
Expand Down

0 comments on commit 5e1474b

Please sign in to comment.