petsc object hierarchy

Matthew Knepley knepley at gmail.com
Wed Nov 22 11:26:38 CST 2006


On 11/22/06, Yaron Kretchmer <yaronkretchmer at gmail.com> wrote:
> Thanks Matt.
>
> And Vec sits on top of BLAS/MPI ?

Everything is on top of MPI. Vec can use BLAS.

> How are Vec-Vec operators (VecAXPBY for instance) and Mat-Mat operators
> (MatMatMult) performed?

There are lots of implementations: BLAS, Fortran kernels, etc. For the
Mat stuff,
I think block matrices are BLAS, and the other stuff is jsut hand coded.

  Matt

>
> Yaron
>
>
> On 11/22/06, Matthew Knepley <knepley at gmail.com> wrote:
> > There is a classic slides in all the tutorials about control flow, but
> > it is really simple:
> >
> >   - Mat uses Vec
> >   - PC uses (Mat, Vec)
> >   - KSP use (PC, Mat, Vec)
> >   - SNES uses (KSP, PC, Mat, Vec)
> >   - TS uses (SNES, KSP, PC, Mat, Vec)
> >
> > Very linear.
> >
> >   Matt
> >
> > On 11/21/06, Yaron Kretchmer <yaronkretchmer at gmail.com> wrote:
> > > Hi all
> > > I'd like to understand the class/object hierarchy of Petsc ( i.e. KSP
> uses a
> > > MAT , which uses a VEC etc. etc.)- other than digging through the code,
> how
> > > can i do this?
> > >
> > > Thanks
> > > Yaron
> > >
> >
> >
> > --
> > "Failure has a thousand explanations. Success doesn't need one" -- Sir
> > Alec Guiness
> >
> >
>
>


-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir
Alec Guiness




More information about the petsc-users mailing list