[petsc-users] Domain Decomposition Method for Parallel FEM Code
Matthew Knepley
knepley at gmail.com
Wed Feb 11 11:01:54 CST 2015
On Wed, Feb 11, 2015 at 10:52 AM, Hanglin Ye <hanglinye at gmail.com> wrote:
> Dear all,
>
> I am new to PETSc and I want to use it to parallel my current serial FEM
> code. I want to use Domain Decomposition Method so that the whole FEM
> domain is partitioned into sub-domains and computations are performed in
> sub-domains then assemble together. Is there a way to use PETSc to realize
> that ?
>
> I've been searching through tutorials but none seems to be clear about
> this aspect. I mainly wish to know what solver of PETSc do I need.
>
Do you have a structured or unstructured mesh? In either case, you will use
a DM to encapsulate your mesh, which will give you
DMLocalToGlobal() and DMGlobalToLocal() to map between Vecs which are
appropriate for the solver (global) and those with
ghost regions which are appropriate for assembly (local). You can see an
example in SNES ex5, ex12, and ex19.
Thanks,
Matt
> Thank you very much.
> --
> Hanglin Ye
> Ph.D.Student MANE, RPI
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150211/1654dbd1/attachment.html>
More information about the petsc-users
mailing list