petsc: symmetric matrix

Barry Smith bsmith at mcs.anl.gov
Wed Nov 22 15:00:56 CST 2006


 Randy,

   Good point. I've added an entry to the FAQ and to the MatType and MatSetType
manual pages.

   Barry


On Wed, 22 Nov 2006, Randall Mackie wrote:

> Satish,
> 
> This questions seems to be asked on the average of once per week on
> this list. Perhaps a section on symmetric matrics could be added
> to the manual?
> 
> Randy
> 
> Satish Balay wrote:
> > On Thu, 23 Nov 2006, sqbang wrote:
> > 
> > > Hi, all
> > >    when I create a matrix with MatCreateSeqAIJ() and the matrix is
> > > symmetry,how can I complete it while only the half data is inserted
> > > ? does the memory needed be half of the same scale matrix but not
> > > symmetry ? if not,how should i set it ?
> > > thanks
> > 
> > You'll have to use MatCreateSeqSBAIJ() for this purpose.
> > 
> > Satish
> > 
> 
> 




More information about the petsc-users mailing list