Multigrid V cycle for PDE solver
for one of my assignments, I am supposed to write both sequential and parallel program for PDE solvers using Jacobi iteration as well as multigrid V cycle.
It would be very helpful, if some one can provive me with either of the following:
1. Algorithm for "multigrid V cycle" parallel and/or sequential
2. code for the same as above.
I'm very new to the community, so If you could let me know hw can I share my coding that would be helpfull too.
I program ic C and using shared memory(pthreads,semaphore) not with MPI.