Skip to content

Commit

Permalink
Updating 1d examples to not use RESTART variable in Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrisaDavis committed Sep 11, 2017
1 parent 1cb4e73 commit 97930d5
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions examples/acoustics_1d_heterogeneous/adjoint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ SETPLOT_FILE = setplot.py # File containing function to set plots
PLOTDIR = _plots # Directory for plots

OVERWRITE ?= True # False ==> make a copy of OUTDIR first
RESTART ?= False # Should = clawdata.restart in setrun

# Environment variable FC should be set to fortran compiler, e.g. gfortran

Expand All @@ -39,7 +38,7 @@ SOURCES = \
qinit.f \
setprob.f \
setaux.f \
$(ADJLIB)/riemann/rp1_acoustics_variable_adjoint.f90 \
$(CLAW)/riemann/src/rp1_acoustics_variable_adjoint.f90 \
$(CLAW)/classic/src/1d/b4step1.f \
$(CLAW)/classic/src/1d/bc1.f \
$(CLAW)/classic/src/1d/claw1ez.f \
Expand Down
2 changes: 0 additions & 2 deletions examples/acoustics_1d_heterogeneous/adjoint/setrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ def setrun(claw_pkg='classic'):


# Restart from checkpoint file of a previous run?
# Note: If restarting, you must also change the Makefile to set:
# RESTART = True
# If restarting, t0 above should be from original run, and the
# restart_file 'fort.qNNNN' specified below should be in
# the OUTDIR indicated in Makefile.
Expand Down
1 change: 0 additions & 1 deletion examples/acoustics_1d_heterogeneous/forward/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ SETPLOT_FILE = setplot.py # File containing function to set plots
PLOTDIR = _plots # Directory for plots

OVERWRITE ?= True # False ==> make a copy of OUTDIR first
RESTART ?= False # Should = clawdata.restart in setrun

# Environment variable FC should be set to fortran compiler, e.g. gfortran

Expand Down
2 changes: 0 additions & 2 deletions examples/acoustics_1d_heterogeneous/forward/setrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ def setrun(claw_pkg='classic'):


# Restart from checkpoint file of a previous run?
# Note: If restarting, you must also change the Makefile to set:
# RESTART = True
# If restarting, t0 above should be from original run, and the
# restart_file 'fort.qNNNN' specified below should be in
# the OUTDIR indicated in Makefile.
Expand Down
1 change: 0 additions & 1 deletion paper1_examples/shelf1d/adjoint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ SETPLOT_FILE = setplot.py # File containing function to set plots
PLOTDIR = _plots # Directory for plots

OVERWRITE ?= True # False ==> make a copy of OUTDIR first
RESTART ?= False # Should = clawdata.restart in setrun

# Environment variable FC should be set to fortran compiler, e.g. gfortran

Expand Down
2 changes: 0 additions & 2 deletions paper1_examples/shelf1d/adjoint/setrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ def setrun(claw_pkg='classic'):


# Restart from checkpoint file of a previous run?
# Note: If restarting, you must also change the Makefile to set:
# RESTART = True
# If restarting, t0 above should be from original run, and the
# restart_file 'fort.qNNNN' specified below should be in
# the OUTDIR indicated in Makefile.
Expand Down

0 comments on commit 97930d5

Please sign in to comment.