From: Kirk, B. (JSC-EG311) <ben...@na...> - 2012-09-17 14:48:33
|
Check the PETSC matrix libmesh documentation - I think there is a method to return the raw PETSC object. I know there is for vectors anyway! -Ben On Sep 17, 2012, at 9:42 AM, "Andrew E Slaughter" <and...@gm...> wrote: > I need to multiply two SparseMatrix objects together, in parallel, does > libMesh have this functionality? > > One possible solution is to use the PETSc MatMatMult function, but this > requires that I use PetscMatrix objects, which I also cannot figure out how > to do. Can someone indicate how I can specify the ImplicitSystem::matrix > and a matrix added with ImplicitSystem::add_matrix can be PetscMatrix > objects. > > Thanks, > Andrew > > -- > Andrew E. Slaughter, PhD > and...@gm... > > Materials Process Design and Control Laboratory > Sibley School of Mechanical and Aerospace Engineering > 169 Frank H. T. Rhodes Hall > Cornell University > Ithaca, NY 14853-3801 > (607) 229-1829 > http://aeslaughter.github.com/ > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Libmesh-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-users |