Next: Finite Element Subroutines Up: Main Previous: AC3D

3.4 MAIN

The programs are essentially the same as the serial version until the initial data set is read from the input file. Throughout this program, when I/O has to be done, it is only done by the root node (rank=0). Dynamic allocation of several arrays based on the problem size (nx, ny, nz) as well as those based on nphase also occur here. There are some small difference in details between the finite element and finite difference programs, which will be obvious when looking more closely at the programs.


Next: Finite Element Subroutines Up: Main Previous: AC3D