Response Ex 7
This commit is contained in:
parent
d911954cb5
commit
52609c6099
7 changed files with 206 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue