[Gmsh] tensor file
Christophe Geuzaine
geuzaine at acm.caltech.edu
Wed May 14 02:13:09 CEST 2003
Laurent Stainier wrote:
>
> I could easily fix the min/max issue, by applying the same formula in
> Common/View.cpp as in Graphics/PostElement.cpp. Since, for now, there is
> only one way to display tensors, it would be enough. From a more general
OK. Could you create a small function computing the Von Mises stuff, and
call it in both Common/Views.cpp and Graphics/PostElement.cpp? (+ add a
comment saying that this is not a perfect solution...)
> point of view, I recently discussed the matter with JF, and we agreed
> that the best solution would indeed be to allow the user to manipulate
> the tensor components directly, i.e. let him decide which scalar
> (vectorial??) combination of the components to display. I am not
> familiar enough with plugins to decide if they are the best way to
> implement this idea...
I'm not sure either... Adding plugins to perform such treatments is
pretty straightforward, though, so that this might be a good (temporary)
solution--until more general operations on post-processing views are
made available.
> We can keep the "Von Mises" display as a default
> (together with a plugin), since I don't see any other smart(er)
> equivalent.
That's fine with me.
Christophe
--
Christophe Geuzaine
Tel: (626) 395-4552 http://www.geuz.org
Fax: (626) 578-0124 mailto:geuzaine at acm.caltech.edu