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 > <[email protected] <mailto:[email protected]>> 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 > [email protected] <mailto:[email protected]> > https://mail.gna.org/listinfo/getfem-users > > > > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users -- Yves Renard ([email protected]) 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 ---------
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
