[petsc-users] nghosts in 'DMMoabLoadFromFile'

Bhamidipati, Vikram vikram.bhamidipati at swri.org
Thu May 20 13:25:32 CDT 2021


Thank you!

From: Vijay S. Mahadevan <vijay.m at gmail.com>
Sent: Thursday, May 20, 2021 1:20 PM
To: Barry Smith <bsmith at petsc.dev>
Cc: Bhamidipati, Vikram <vikram.bhamidipati at swri.org>; petsc-users <petsc-users at mcs.anl.gov>; moab-dev at mcs.anl.gov
Subject: Re: [petsc-users] nghosts in 'DMMoabLoadFromFile'

[EXTERNAL EMAIL]
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.

Best,
Vijay

On Thu., May 20, 2021, 13:03 Barry Smith, <bsmith at petsc.dev<mailto: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<mailto: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/6ec15570/attachment-0001.html>


More information about the petsc-users mailing list