[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] models and bricks
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] models and bricks |
Date: |
Mon, 5 Sep 2011 13:54:15 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-33-server; KDE/4.4.5; x86_64; ; ) |
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 (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
---------