[petsc-dev] Ynt: Re: Ynt: Re: Ynt: Re: Ynt: Re: Ynt: Re: Ynt: Re: [petsc-maint #44074]

Matthew Knepley petsc-maint at mcs.anl.gov
Fri Dec 2 17:43:09 CST 2011


On Thu, Dec 1, 2011 at 4:21 PM, Matthew Knepley <petsc-maint at mcs.anl.gov>wrote:

> On Thu, Dec 1, 2011 at 4:03 PM, msahinae00 <msahin.ae00 at mynet.com> wrote:
>
> > Dear Matt,
> >
> > Element partition will be enough.
>
>
> Thanks, I have started fixing up the Fortran. I will have it for you very
> soon.
>

I have added a new DMMesh example that reads and partitions a mesh in
Fortran

  cd src/dm/impls/mesh/examples/tutorials
  make ex2f

or

  ./config/builder2.py buildExample
src/dm/impls/mesh/examples/tutorials/ex2f.F

and then you can run it

  ex2f -dm_view
  $MPIEXEC -n 3 ex2f -dm_view

  Thanks,

      Matt


>  Thanks,
>
>     Matt
>
>
> > Mehmet
> >
> > ----- Özgün İleti -----
> > Kimden : petsc-maint at mcs.anl.gov
> > Kime : petsc-maint at mcs.anl.gov,"msahinae00"
> > Gönderme tarihi : 30/11/2011 23:19
> > Konu : Re: Ynt: Re: Ynt: Re: Ynt: Re: Ynt: Re: Ynt: Re: [petsc-maint
> > #44074]
> > On Wed, Nov 30, 2011 at 2:29 PM, msahinae00 <msahin.ae00 at mynet.com
> >
> > wrote:
> >
> > I solve Navier-Stokes equations and my
> >
> > velocity vector is defined at the face/edge midpoints&nbsp; and the
> >
> > pressure is defined at either at cell centers or vertices.
> >
> > Let me ask you another way. Is it enough if I partition cells,
> > and tell you which verticesgo with which cell, or do you need
> > explicit queries for faces? If you do, the Fortran interface
> > is not ready yet.
> >    Matt 
> > Mehmet
> >
> >
> >
> >
> >
> > ----- Özgün İleti -----
> >
> > Kimden : petsc-maint at mcs.anl.gov
> >
> > Kime : petsc-maint at mcs.anl.gov,"msahinae00"
> >
> > Gönderme tarihi : 30/11/2011 21:55
> >
> > Konu : Re: Ynt: Re: Ynt: Re: Ynt: Re: Ynt: Re: [petsc-maint #44074]
> >
> > On Wed, Nov 30, 2011 at 1:41 PM, msahinae00 &
> amp;lt;msahin.ae00 at mynet.com
> > &gt;
> >
> > wrote:
> >
> >
> >
> > Unstructured quads. But it can be mixed in
> >
> >
> >
> > the future.
> >
> >
> >
> > Do you only need cells and vertices, or do you need
> >
> > faces?
>

-- 
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-dev/attachments/20111202/c0ea6026/attachment.html>


More information about the petsc-dev mailing list