[Trilinos-Users] ANASAZI help

Heroux, Michael A maherou at sandia.gov
Fri Jun 24 08:06:41 MDT 2011


Azedine,

There is no interface to pass the entire collection of terms at once.   The minimal number of insertion calls for Epetra_CrsMatrix is the number of rows in the matrix.   You can of course make your own simple matrix adapter.  This adapter could simply use your existing arrays if you like.

If you start with Epetra_BasicRowMatrix ( a virtual class with most methods concretely adapted ) it is not too much work to make your own matrix class.  You can look at Epetra_JadMatrix as an example of how to do this.

Mike


On 6/24/11 7:37 AM, "Azedine Ouaissa" <ouaissa at iatmbh.de> wrote:

Hallo,
I will use Anasazi to calculate Eigen values
My Matrix is 190000x190000. My matrix is in the compressed row-Format.

This example illustrate my matrix

 A [  2  -1   0   0
     -1   2  -1   0
      0  -1   2  -1
      1   0  -1   2]

   Val      [2, -1, -1,  2, -1, -1,  2, -1,  1, -1, 2]
   Row      [0,  1,  3,  0,  1,  2,  1,  2,  1,  2, 3]
   colIndex [0,  3,  6,  9, 11]

Is it possible to create in EPETRA one Matrix and fill this matrix complete in one step?

Do you have one example for me?



thank you for your help

Mit freundlichen Grüßen
Azedine Ouaissa



Mit freundlichen Grüßen
Azedine Ouaissa
_____________________________________________________________



IAT Ingenieurgesellschaft für Automobiltechnik mbH
Azedine Ouaissa
Projektingenieur/ Technische Berechnung
TIB 13
Gustav-Meyer-Allee 25
13355 Berlin
Deutschland / Germany
Phone:  +49 (0)30 467 765 30
Fax:     +49 (0)30 467 765 18
E-Mail:  ouaissa at IATmbH.de <mailto:ouaissa at IATmbH.de>

Besuchen Sie unseren Internetauftritt / Visit our Website: www.IATmbH.de <http://www.iatmbh.de/>
_____________________________________________________________

Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.



This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

_____________________________________________________________



________________________________
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110624/aa743904/attachment.html 


More information about the Trilinos-Users mailing list