The Foam::FaceCellWave<Type, TrackingData>::handleProcPatches() function is not differentiated in parallel. This function is used when updating the wall distance. It seems that it has very little impact on the adjoint accuracy. We tried to AD this function; however, it was not successful and got an MPI_waitAll error. See attached file.
FaceCellWave.zip
The Foam::FaceCellWave<Type, TrackingData>::handleProcPatches() function is not differentiated in parallel. This function is used when updating the wall distance. It seems that it has very little impact on the adjoint accuracy. We tried to AD this function; however, it was not successful and got an MPI_waitAll error. See attached file.
FaceCellWave.zip