[Trilinos-Users] Galeri

Sean Ross-Ross srossross at gmail.com
Thu May 24 13:30:50 MDT 2007


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20070524/b952ece4/attachment.html


More information about the Trilinos-Users mailing list