Response Ex 7

This commit is contained in:
Gundolf Haase 2026-01-12 20:32:24 +01:00
commit 52609c6099
7 changed files with 206 additions and 3 deletions

View file

@ -79,15 +79,15 @@ int main(int argc , char **argv )
double tstart = MPI_Wtime(); // Wall clock
JacobiSolve(SK, fv, uv ); // solve the system of equations
//GH JacobiSolve(SK, fv, uv ); // solve the system of equations
JacobiSolveMPI(mesh, SK, fv, uv ); // MPI: solve the system of equations
double t1 = MPI_Wtime() - tstart; // Wall clock
cout << "JacobiSolve: timing in sec. : " << t1 << endl;
//if (2==myrank || (1==numprocs && 0==myrank) ) mesh.Mesh::Visualize(uv); // Visualize only one subdomain
//mesh.Visualize(uv); // Visualize all subdomains
mesh.Visualize(uv); // Visualize all subdomains
MPI_Finalize();
return 0;
}
}