Skip to content

Commit

Permalink
Add sub-directory to output path
Browse files Browse the repository at this point in the history
  • Loading branch information
mandli committed Mar 13, 2014
1 parent a12f383 commit a17971c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 1d/dry_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def dry_state(num_cells,eigen_method,entropy_fix,**kargs):
r"""Run and plot a multi-layer dry state problem"""

# Construct output and plot directory paths
name = 'dry_state'
name = 'multilayer/dry_state'
prefix = 'ml_e%s_m%s_fix' % (eigen_method,num_cells)

if entropy_fix:
Expand Down
2 changes: 1 addition & 1 deletion 1d/internal_lapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def internal_lapping(num_cells,eigen_method,**kargs):

# Construct output and plot directory paths
prefix = 'ml_e%s_n%s' % (eigen_method,num_cells)
name = 'lapping'
name = 'multilayer/lapping'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down
2 changes: 1 addition & 1 deletion 1d/oscillatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def oscillatory_wind(num_cells,eigen_method,**kargs):

# Construct output and plot directory paths
prefix = 'ml_e%s_n%s' % (eigen_method,num_cells)
name = 'oscillatory_wind'
name = 'multilayer/oscillatory_wind'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down
2 changes: 1 addition & 1 deletion 1d/rarefaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def rarefaction(num_cells,eigen_method,entropy_fix,**kargs):
prefix = "".join((prefix,"T"))
else:
prefix = "".join((prefix,"F"))
name = 'all_rare'
name = 'multilayer/all_rare'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down
4 changes: 2 additions & 2 deletions 1d/shelf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def jump_shelf(num_cells,eigen_method,**kargs):

# Construct output and plot directory paths
prefix = 'ml_e%s_n%s' % (eigen_method,num_cells)
name = 'jump_shelf'
name = 'multilayer/jump_shelf'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down Expand Up @@ -144,7 +144,7 @@ def sloped_shelf(num_cells,eigen_method,**kargs):

# Construct output and plot directory paths
prefix = 'ml_e%s_n%s' % (eigen_method,num_cells)
name = 'sloped_shelf'
name = 'multilayer/sloped_shelf'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down
4 changes: 2 additions & 2 deletions 1d/wave_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def wave_family(num_cells,eigen_method,wave_family,dry_state=True,**kargs):
# Construct output and plot directory paths
prefix = 'ml_e%s_n%s' % (eigen_method,num_cells)
if dry_state:
name = 'dry_wave_%s' % wave_family
name = 'multilayer/dry_wave_%s' % wave_family
else:
name = 'wet_wave_%s' % wave_family
name = 'multilayer/wet_wave_%s' % wave_family
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down
4 changes: 2 additions & 2 deletions 1d/well_balanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def smooth_test(eigen_method, dry=False, **kargs):

# Construct output and plot directory paths
prefix = 'ml_e%s_d%s' % (eigen_method,dry)
name = 'well_balancing_smooth'
name = 'multilayer/well_balancing_smooth'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down Expand Up @@ -143,7 +143,7 @@ def jump_test(eigen_method, dry=False, **kargs):

# Construct output and plot directory paths
prefix = 'ml_e%s_d%s' % (eigen_method,dry)
name = 'well_balancing_jump'
name = 'multilayer/well_balancing_jump'
outdir,plotdir,log_path = runclaw.create_output_paths(name,prefix,**kargs)

# Redirect loggers
Expand Down

0 comments on commit a17971c

Please sign in to comment.