CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Triplet sparse

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 19, 2009, 15:39
Question Triplet sparse
  #1
New Member
 
SinaJ
Join Date: Nov 2009
Posts: 11
Rep Power: 6
sina_mech is on a distinguished road
Hi,

I use triplet sparse form in my C++ code.
but it doesn't work. My triplet form is not Ordered. it means that it is not like : A[0][0] ... A[0][n] .... A[N][0] ... A[N][N] . for examle :

A= [ 0 0 2 0
0 3 4 0
0 0 0 4
0 0 3 0]

is stored in this form :

a=[4 , 3 , 3 , 2 , 4]
i=[2, 1 , 3 , 0 , 1]
j=[ 3 , 1, 2, 2, 2]


my question is that : is triplet sparse form sensitive to INCREASING ORDER of I and J vectors?
sina_mech is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ solver for Large sparse matrix! sina_mech Main CFD Forum 7 November 20, 2009 13:52
Sparse matrices rne Main CFD Forum 2 November 8, 2007 09:45
Sparse linear systems in finite volume method Lionel S. Main CFD Forum 6 January 19, 2007 10:04
Manipulation on sparse data structure Takuya Tsuji Main CFD Forum 0 June 26, 2001 22:48
Block sparse matricies cfdman Main CFD Forum 2 January 10, 2001 13:13


All times are GMT -4. The time now is 23:37.