Skip to content
Snippets Groups Projects
Commit cf60556d authored by Bruno Seny's avatar Bruno Seny
Browse files

MultiRate Runge-Kutta, Order 2, Constantinescu

parent 4c7c9ba8
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ for i=1,nRefSteps do
end
multirateRK=dgRungeKuttaMultirate43(GC,law)
--multirateRK=dgRungeKuttaMultirate22(GC,law)
integrator=dgFunctionIntegrator(functionLua(1, 'L2Norm', {'Solution'}):getName())
oldnorm=1
......
......@@ -86,6 +86,7 @@ dt=dt
print('DT=',dt)
RK=dgRungeKutta()
multirateRK=dgRungeKuttaMultirate43(GC,law)
--multirateRK=dgRungeKuttaMultirate22(GC,law)
norm1=solution:norm()
norm2=solution2:norm()
print('Norm: ',norm1,norm2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment