petsc: symmetric matrix

Randall Mackie randy at geosystem.us
Wed Nov 22 10:52:54 CST 2006


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
> 

-- 
Randall Mackie
GSY-USA, Inc.
PMB# 643
2261 Market St.,
San Francisco, CA 94114-1600
Tel (415) 469-8649
Fax (415) 469-5044

California Registered Geophysicist
License No. GP 1034




More information about the petsc-users mailing list