Skip to content

Commit

Permalink
run all script for box
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy E Kozdon committed Oct 17, 2018
1 parent 7ce6472 commit ce66c59
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions acoustic2D/GDBox_curved.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@
end
end

disp('FINAL: GDBox_curved')
disp('p')
disp(p)
disp('error')
disp(sol_err)
rate = (log(sol_err(1:end-1)) - log(sol_err(2:end))) / log(2);
disp('rate')
disp(rate)
9 changes: 9 additions & 0 deletions acoustic2D/GDBox_curved_extrapolation.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@
disp(rate)
end
end

disp('FINAL: GDBox_curved_extrapolation')
disp('p')
disp(p)
disp('error')
disp(sol_err)
rate = (log(sol_err(1:end-1)) - log(sol_err(2:end))) / log(2);
disp('rate')
disp(rate)
12 changes: 12 additions & 0 deletions acoustic2D/run_all_box.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diary('run_all_box.diary')
clear
for p = 1:5
clearvars -except p
GDBox_curved
end
clear
for p = 1:5
clearvars -except p
GDBox_curved_extrapolation
end
diary off

0 comments on commit ce66c59

Please sign in to comment.