have better to
> > generate
> > a mesh with periodic topology structure. Is it right?
>
> Just to be clear, your method is perfectly fine. Mine is not more
> efficient. I just think its easier.You can see periodic meshes
> generated using DMPlexCreateBoxMesh().
> Thanks,
&g
e better to generate
a mesh with periodic topology structure. Is it right?
> Thanks,
> Matt
> > Thanks.
> >
> > On Thu, 2019-01-17 at 06:43 -0500, Matthew Knepley wrote:
> > > On Thu, Jan 17, 2019 at 3:34 AM leejearl via petsc-users <
> &g
. Can you give me a more scalable procedure?
Thanks.
On Thu, 2019-01-17 at 06:43 -0500, Matthew Knepley wrote:
> On Thu, Jan 17, 2019 at 3:34 AM leejearl via petsc-users <
> petsc-users@mcs.anl.gov> wrote:
> > Hi all Petscer,
> >
> > I have ask he
Hi all Petscer,
I have ask helps for some questions. Thanks for the replies
from developer. I have known more about the petsc. I have also sought
helps in the mail lists, and I find that there are many subjects
focused on such a problem. Some subjects are listed as follow
quot;.
> >
> > This is my problem. I want to know how to implement it easily. Can
> > you give me some advices?
> >
> > Thanks
> >
> > leejearl
> >
> >
> > On Wed, 2019-01-16 at 08:07 -0500, Matthew Knepley wrote
Hi Matt,Thanks for you reply. If I use DMGlobalToLocal() to
update the local vector from global vector.The value of
cStart<=c On Tue, Jan 15, 2019 at 8:34 PM leejearl via petsc-users <
> petsc-users@mcs.anl.gov> wrote:
> > Hi all Petscer,
> >
> >
> &
Hi all Petscer,
I have a question about how to update the ghost value in the vector.
The prolblem is as follow.
1. A dmplex dm object is created using DMPlexCreateFromFile
2. The dm is distributed using DMPlexDistribute, and the overlap is set
as 1.
3. The ghosted dm is constructed by
Hi Matt,
Thanks for your helps. I have another question, but I think I should
ask the question in a new subject.
leejearl
> > Hi, Matt
> >
> > > > Hi, all Petscer:
> > > > I am very sorry for disturbing you for my questions.
> > >
> > >
> > > I like your questions.
> > >
> > >
> > > > I
Hi, Matt
> > Hi, all Petscer:
> > I am very sorry for disturbing you for my questions.
>
>
> I like your questions.
>
>
> > I have a
> > problems as follow.
> > 1. A DMPlex object dm is created.
> > 2. A global vector and a local vector are created using the
> following
> > routines
Hi, all Petscer:
I am very sorry for disturbing you for my questions. I have a
problems as follow.
1. A DMPlex object dm is created.
2. A global vector and a local vector are created using the following
routines DMCreateGlobalVector and DMCreateLocalVector.
3. I have initialed global
might be not distributed in the
> > > > > > > > same local dm. Maybe I should ask that how
> > > > > > > > can I implement the topology of the periodic boundary
> > > > > > > > in demplex.
> > > > > > >
dic boundary in dmplex. For a cell or face,
> > > > > > > > the donor cell or face might be not distributed in the
> > > > > > > > same local dm. Maybe I should ask that how
> > > > > > > >
should ask that how
> > > > > > can I implement the topology of the periodic boundary in
> > > > > > demplex.
> > > > >
> > > > > Plex directly encodes a periodic topology. For example, with
> > > > > a circle,
or example, with a
> > > circle, each vertex is connectedto two neighbors. There are
> > > example with periodic boundary conditions like SNES ex12.
> > > Thanks,
> > > Matt
> > > > Thanks again for your kind reply.
> > >
> > On Thu, 2018-12-06 at 12:02 -0500, Matthew Knepl
> > > On Thu, Dec 6, 2018 at 9:47 AM leejearl via petsc-users <
> > > petsc-users@mcs.anl.gov> wrote:
> > > > Hi, Petsc developer:
> > > >
> > > > I have a problem f
On Thu, 2018-12-06 at 12:02 -0500, Matthew Knepl
> > > On Thu, Dec 6, 2018 at 9:47 AM leejearl via petsc-users <
> > > petsc-users@mcs.anl.gov> wrote:
> > > > Hi, Petsc developer:
> > > >
> > > > I have a problem for helps.
&g
for your kind reply.
leejearlOn Thu, 2018-12-06 at 12:02 -0500, Matthew Knepl
> On Thu, Dec 6, 2018 at 9:47 AM leejearl via petsc-users <
> petsc-users@mcs.anl.gov> wrote:
> > Hi, Petsc developer:
> >
> > I have a problem for helps.
> >
> >
Hi, Petsc developer:
I have a problem for helps.
There is a dmplex object, and I have distribute it use the
routine DMPlexDistribute(). Then, I want to get the global integer ids
in the label "Face Sets". The code is as follow,
ierr = DMGetLabelIdIS(dm, "Face Sets",
18 matches
Mail list logo