[petsc-users] nghosts in 'DMMoabLoadFromFile'

Vijay S. Mahadevan vijay.m at gmail.com
Thu May 20 13:19:40 CDT 2021

Dear vikram,

Yes if you are running in serial or if you do not require any ghost layers,
initialize the parameter input to zero. Otherwise, it should specify the
the number of ghost layers of elements you need when running in parallel.

I'm not well at the moment but will update the documentation for DMMoab
when I get back.


On Thu., May 20, 2021, 13:03 Barry Smith, <bsmith at petsc.dev> wrote:

>   Probably. It is not documented unfortunately, but does seem to related
> to the how many ghost layers are needed.
>    Barry
> On May 20, 2021, at 11:25 AM, Bhamidipati, Vikram <
> vikram.bhamidipati at swri.org> wrote:
> Hello,
> I am in the process of updating PetSc versions and I see that
> ‘DMMoabLoadFromFile’ function (in dmmutil.cxx) has a new argument
> ‘nghosts’. For those of us who don’t use ghost cells should we set it to 0?
> Thanks,
> Vikram
> ---------------------------------------------------
> Vikram Bhamidipati
> Senior Research Engineer
> Computational Material Integrity Section
> Materials Engineering Department
> Mechanical Engineering Division
> Ph: (210) 522-2576
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210520/4c56c50e/attachment.html>

More information about the petsc-users mailing list