getfem-users
[Top][All Lists]
Advanced

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

Re: [Getfem-users] asm_mass_matrix() adds to matrix


From: Yves Renard
Subject: Re: [Getfem-users] asm_mass_matrix() adds to matrix
Date: Mon, 27 Jan 2014 17:32:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0


Dear Torquil,

Yes, this is the convention. I will add a comment in the documentation specifying this.

Best regards,

Yves.

Le 27/01/2014 14:54, Andriy Andreykiv a écrit :
Dear Troquil,

I think this is indeed a convention in Getfem for all asm_.. functions. 
But you're right, this is not documented.

Best regards,
                     Andriy


On 27 January 2014 14:51, Torquil Macdonald Sørensen <address@hidden> wrote:
Hi!

It seems to me that asm_mass_matrix() will add elements to the provided matrix, i.e. not start by clearing the matrix. Maybe its by design and the same for the other assembly functions, so that it is easy for several assembly functions can add to the same matrix, but I don't see it documented anywhere.

Unless I'm overlooking something in the documentation, perhaps it would be good to add a note to the documentation of each of the assembly functions, explaining that values will be added to the provided matrix?

Best regards
Torquil Sørensen


_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users




_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users


-- 

  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]