Open zhyxue0 opened 9 months ago
This is a known limitation of projection between mismatching meshes (supermeshing). It will only work if the meshes have a matching parallel decomposition which we cannot guarantee here I believe.
We do support interpolation across meshes into particular function spaces. This is however not quite the same as projection so may not be suitable for you.
Those two meshes are nested so project and interpolate have the same result.
From: Connor Ward @.***> Sent: 27 November 2023 09:31 To: firedrakeproject/firedrake Cc: Subscribed Subject: Re: [firedrakeproject/firedrake] BUG: Mesh parallel error (Issue #3265)
This is a known limitation of projection between mismatching meshes (supermeshing). It will only work if the meshes have a matching parallel decomposition which we cannot guarantee here I believe.
We do support interpolation across mesheshttps://www.firedrakeproject.org/interpolation.html#interpolation-across-meshes into particular function spaces. This is however not quite the same as projection so may not be suitable for you.
— Reply to this email directly, view it on GitHubhttps://github.com/firedrakeproject/firedrake/issues/3265#issuecomment-1827462564, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABOSV4TRJN2NOEGBK6STDVLYGRMY3AVCNFSM6AAAAAA72TB3FCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRXGQ3DENJWGQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello everyone.
I try to use
project
on two different meshes. The code worked fine when running serially, but when I ran it in parallel, it prompted:AssertionError: Whoever made mesh_B should explicitly mark mesh_A as having a compatible parallel layout.
Here is the code:
Here is the report: