[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question on MatMatMult
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: question on MatMatMult
- From: "Matthew Knepley" <knepley@xxxxxxxxx>
- Date: Mon, 17 Mar 2008 18:18:47 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=b97m8Uqh9VYTRc6L/FQMk/BZupp5by0He2JSqRvqrEY=; b=HkAkpyurQHb/HQkGq/10lp+XGe90Iut+6QQ0IX7WYaWnG44j3EedUr9Q16hxwUiLcAD+LwiIfqc+A6Pjp73W8mOK6T79djNSM5cMjzkx2L8LwJdNqqJHRTTcJufmLAWoDAPZCq8/b64vUkFCz7PFYjf5tXsi5cb3sLMc3yJYJEc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BIwY9NiBvTy1cVZCZCUz69s1wY8ngMtZbw3cgmkJyZVSTVfdVV+aMAPcbRB1SNraT2TIQj7etOjDZtzTorBXicXvjWMcd0YSEk99Lj5IMgfi8JHzBE+O3vDM+PpyBTIOkEDpQD0eiWeEfIBMCILsM8lktsjNbH3Cerd1dXemOq8=
- In-reply-to: <47DEF8B6.5040407@gmail.com>
- References: <47DEF093.5040605@gmail.com> <a9f269830803171540y302b85f8oc407033ace24c53c@mail.gmail.com> <47DEF8B6.5040407@gmail.com>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
On Mon, Mar 17, 2008 at 6:03 PM, Randall Mackie <rlmackie862@xxxxxxxxx> wrote:
>
>
> Matthew Knepley wrote:
> > On Mon, Mar 17, 2008 at 5:28 PM, Randall Mackie <rlmackie862@xxxxxxxxx> wrote:
> >> If I want to compute H = L^T L where L is a sparse matrix which is an approximation to the
> >> laplacian, and hence H is the biharmonic (also sparse), and if I have L as an MPI matrix
> >> in PETSc, will MatMatMult work for this (assuming I create the transpose of L first).
> >>
> >> In other words, does MatMatMult look at the non-zero structure only that would result,
> >> or does it think the result is a dense matrix?
> >
> > It builds the structure dynamically, which explains the "fill"
> > argument. This is not a great
> > thing to do unless you have no idea how to form it directly.
>
> I know how to form the Laplacian (that's easy) but I do not know how
> to form the biharmonic directly, on a non-uniform grid. If anyone
> knows how, other than direct multiplication, and can point me in
> the right direction, that would be most appreciated.
I found
http://links.jstor.org/sici?sici=0036-1429(199604)33%3A2%3C555%3ATSMFTB%3E2.0.CO%3B2-8
http://citeseer.ist.psu.edu/13843.html
http://links.jstor.org/sici?sici=0036-1429(197806)15%3A3%3C556%3AAOTBEB%3E2.0.CO%3B2-E
Matt
> Randy
>
>
> >
> > Matt
> >
> >> Thanks, Randy
>
>
--
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