solution of heat equation at time T=1
Exercise E11:
Remark: Write the parallel code in such a way that each node stores its final result in a separate file. For example, if p is the rank of the processor, the filename fname of the result can be generated with
sprintf(fname, "result%02d", p);
In the mesh case with processor coordinates coords, use
sprintf(fname, "result%02d%02d", coords[0], coords[1]);
The different result files can easily be combined and visualized with matlab.


 Back