cashocs icon indicating copy to clipboard operation
cashocs copied to clipboard

Make angle-weighted interpolation for topology optimization available for parallel computing

Open sblauth opened this issue 3 years ago • 1 comments

At the moment, topology optimization does not work in parallel.

sblauth avatar Mar 27 '23 08:03 sblauth

The issue arises due to the angle-weighted interpolation. Most likely this is the case due to an indexing error as the mesh and dofs are distributed among multiple tasks.

sblauth avatar Mar 28 '23 08:03 sblauth

This is not so easy to do - it requires setting parameters["ghost_mode"] = "shared_vertex" from the fenics side and then some careful manipulation of the owned vertices of each process (to ensure that things are not done multiple times). I think for now it is easier to raise an error if topology optimization is run with interpolation_scheme = angle and it is detected that the program runs on more than one MPI process.

sblauth avatar Nov 11 '24 12:11 sblauth