Thank you!

 

From: Vijay S. Mahadevan <vijay.m@gmail.com>
Sent: Thursday, May 20, 2021 1:20 PM
To: Barry Smith <bsmith@petsc.dev>
Cc: Bhamidipati, Vikram <vikram.bhamidipati@swri.org>; petsc-users <petsc-users@mcs.anl.gov>; moab-dev@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@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@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