Dear Roman, When I designed the new bricks, I itended to make them the most possible independent of the model object. So, most of the bricks can be added to more than one model (the idea was that the information should be contained in model variables). But not all of them, because some of them store information : explicit matrix, oprions ... May be it should be changed (with the introduction of matrix variables in the model). In the current situation , it is preferable to consider that a brick is attached to only one model.
Yves. On lundi 5 septembre 2011, Roman Putanowicz wrote: > Dear All, > > Seemingly simple question: > > Does it make sense to share a brick between two or more > getfem::model instances ? > > This is related to the design of GUI widgets for GetFEM: > if the answer to the above question is yes, then brick > objects should be created independently of a model > objects and have widgets on the same GUI level. > > Regards, > > Roman -- 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
