Not easily in git/master, but I have a pull request on github that implements 
this for the case when you have multiple variables of the same type. Is that 
the case for you?

-Ben


On May 10, 2013, at 1:58 PM, "Ataollah Mesgarnejad" <[email protected]> 
wrote:

> Dear all,
> 
> I was wondering if someone can tell me if I can set the block size for a 
> linear system's matrix?
> 
> If yes where (at what point )?
> 
> I'm thinking of doing something like: 
> 
> PetscMatrix<Number>* matrix = 
> libmesh_cast_ptr<PetscMatrix<Number>*>(system.matrix);
> MatSetBlockSize(matrix->mat(), dim);
> 
> Thanks,
> Ata
> 
> 
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to