getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Stiffness Matrix display


From: Yves Renard
Subject: Re: [Getfem-users] Stiffness Matrix display
Date: Tue, 20 Jul 2010 15:33:19 +0200
User-agent: KMail/1.13.2 (Linux/2.6.32-22-server; KDE/4.4.2; x86_64; ; )


Dear Juan,

This is a Spmat object. You have to use methods defined on this object.

see the documentation:

http://download.gna.org/getfem/html/homepage/python/cmdref.html#spmat

Yves.


On mardi 20 juillet 2010, Juan Felipe Henao wrote:
> Hi,
> 
> I am just wondering, how can I display the stifness matrix of my program if
> I am using the following code to get the matrix, on PYTHON K =
> gf.asm_linear_elasticity(mim, mfu, mfd, repeat([Lambda], nbd),
> repeat([Mu], nbd))
> 
> In fact, each time I try to display the matrix I got the following:
> 
> <getfem.Spmat 1494x1494 REAL WSC,> NNZ=47512 (filling=2.12864%)>
> 
> Instead of getting the whole matrix.
> Is there any way to display it?
> 
> Thanks,
> 
> Juan
> 
> _________________________________________________________________
> Pronto descubrirás un nuevo Hotmail. Nos estamos reinventando. Prepárate
> para lo que se viene. http://www.nuevohotmail.com


-- 

  Yves Renard (address@hidden)       tel : (33) 04.72.43.87.08
  Pole de Mathematiques, INSA-Lyon             fax : (33) 04.72.43.85.29
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard

---------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]