[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: petsc object hierarchy



Thanks Matt.

And Vec sits on top of BLAS/MPI ?

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


Yaron

On 11/22/06, Matthew Knepley <knepley@xxxxxxxxx> 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@xxxxxxxxx> 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