Skip to content
Snippets Groups Projects
Commit ffb243c5 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : uneeded evaluation of the residual

parent 70422531
No related branches found
No related tags found
No related merge requests found
......@@ -82,8 +82,7 @@ int main(int argc, char **argv){
print("output/init.pos",*elementGroups[0],&sol(0,0));
for(int iT=0; iT<100; iT++) {
algo.residual(*law,elementGroups,faceGroups,boundaryGroups,sol,residu);
algo.rungeKutta(*law,elementGroups,faceGroups,boundaryGroups,0.01,residu,sol);
algo.rungeKutta(*law,elementGroups,faceGroups,boundaryGroups,0.01,residu,sol);
if(iT%10==0){
char name[100];
sprintf(name,"output/test_%05i.pos",iT/10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment