Re: [Libmesh-users] MatSetBlockSize

2013-05-10 Thread Kirk, Benjamin (JSC-EG311)
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" wrote: > Dear all, > > I was wondering if someone can tell m

[Libmesh-users] MatSetBlockSize

2013-05-10 Thread Ataollah Mesgarnejad
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* matrix = libmesh_cast_ptr*>(system.matrix); MatSetBlockSize(matrix->mat(), dim); Thanks, Ata -