- Joined
- Jan 8, 2007
- Messages
- 1,334
- Reaction score
- 28
Hiya. I am doing my advanced project for my Uni at the moment. I am stuck on a part of a task that I have to do. I have to draw an activity diagram or dependency graph for the code shown below. Any ideas
for (Jx = 1; Jx <= (Nx - 1); Jx++) {
for (Jy = 1; Jy <= (Ny - 1); Jy++) {
for (Jz = 1; Jz <= (Nz - 1); Jz++) {
Eold[1] = E.x.grid[Jx][Jy][Jz];
Eold[2] = E.y.grid[Jx][Jy][Jz];
Eold[3] = E.z.grid[Jx][Jy][Jz];
for (Jx = 1; Jx <= (Nx - 1); Jx++) {
for (Jy = 1; Jy <= (Ny - 1); Jy++) {
for (Jz = 1; Jz <= (Nz - 1); Jz++) {
Eold[1] = E.x.grid[Jx][Jy][Jz];
Eold[2] = E.y.grid[Jx][Jy][Jz];
Eold[3] = E.z.grid[Jx][Jy][Jz];