Skip to content
Snippets Groups Projects
Commit c9860c99 authored by Samuel Melchior's avatar Samuel Melchior
Browse files

geo 1D

parent 70ae3ada
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,8 @@ dg:exportSolution('output/Adv1D_00000') ...@@ -44,8 +44,8 @@ dg:exportSolution('output/Adv1D_00000')
-- main loop -- main loop
n = 5 n = 5
for i=1,100*n do for i=1,50*n do
norm = dg:RK44(0.03) norm = dg:RK44(0.0325)
if (i % n == 0) then if (i % n == 0) then
print('iter',i,norm) print('iter',i,norm)
dg:exportSolution(string.format("output/Adv1D-%05d", i)) dg:exportSolution(string.format("output/Adv1D-%05d", i))
......
Point(1) = {-1, 0, 0, 0.01};
Point(2) = {1, 0, 0, 0.01};
Line(1) = {1, 2};
Physical Point("Left") = {1};
Physical Point("Right") = {2};
Physical Line("Line") = {1};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment