[Trilinos-Users] Galeri

Marzio Sala marzio.sala at gmail.com
Thu May 24 13:34:40 MDT 2007


Actually, this is the example at the very top of the page

http://trilinos.sandia.gov/packages/docs/dev/packages/galeri/doc/html/gl_GalleryCrsMatrix.html

Or you can scroll down and give a look to all the available matrices.

-Marzio


On 5/24/07, Sean Ross-Ross <srossross at gmail.com> wrote:
>
> Could you point me in the direction of where this Is in the  the
> documentation?
> Thanks Again
>
> ~Sean
>
>
> On 24-May-07, at 1:25 PM, Marzio Sala wrote:
>
> Hi Sean,
>
> yes, there is: use
>
> Matrix = CreateCrsMatrix("Diag", Map, GaleriList);
>
> This will create a diagonal matrix with 1.0's on the diagonals. If you
> want a number (for example, 2.0), set
>
> GaleriList.set("a", 2.0);
>
> The list of matrices is reported at this web page:
> http://trilinos.sandia.gov/packages/docs/dev/packages/galeri/doc/html/gl_GalleryCrsMatrix.html
>
>
> Regards,
> -Marzio
>
> On 5/24/07, Sean Ross-Ross <srossross at gmail.com> wrote:
> >
> > Is there are function to create a simle identity matrix?
> >
> > Somthing like
> >
> > Matrix = CreateCrsMatrix("Identity", Map, GaleriList);
> >
> > ~Sean
> >
> > _______________________________________________
> > Trilinos-Users mailing list
> > Trilinos-Users at software.sandia.gov
> > http://software.sandia.gov/mailman/listinfo/trilinos-users
> >
> >
>
>
> --
> http://marzio.sala.googlepages.com
>
>
>


-- 
http://marzio.sala.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20070524/3200b374/attachment.html


More information about the Trilinos-Users mailing list