[GiDlist] Manage Menus

Moderator: GiD Team

Post Reply
Mire Marjanovic

[GiDlist] Manage Menus

Post by Mire Marjanovic »

Hello GiD Team.

1. I have the problem when I want to remove the MeshQuadratic typeQuadratic menu option, for my custom problem type. I have used
GiDMenu::RemoveOption "Mesh" [list "Quadratic type" "Quadratic"] PRE _

but it is not working. I have removed other menu options which I don't need, but with this one it is not working.


2. What is the easiest way to put in the menu the following options:
Mesh Element type Triangular_6_Nodes(instead of Element typeTriangular with Quadratic typeQuadratic)

Mesh Element type Quadrilateral_4_Nodes (instead of Element typeQuadrilateral with Quadratic typeLinear)

Mesh Element type Quadrilateral_9_Nodes (instead of Element typeQuadrilateral with Quadratic typeQuadratic)

Note that after that I don't need the Quadratic type option any more.

Can these Element type and Quadratic type options be merged, to have new options like I explained above? Thanks in advance for the help.

Best regards,
M.Marjanovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131016/0c0f712d/attachment.htm
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] Manage Menus

Post by escolano »

I think that modify this menus is not a good idea,



In any case the ‘quadratic’ is now a global option, not a ‘local option’
that could be assigned entity by entity like the element type.

Then is not valid to allow to assign to an entity ‘Triangle 6
nodes’(quadratic) and to another entity ‘Quadrilateral 4 nodes’ (linear).

Nowadays the full mesh is quadratic or linear





De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Mire Marjanovic
Enviado el: miércoles, 16 de octubre de 2013 18:11
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Manage Menus



Hello GiD Team.



1. I have the problem when I want to remove the MeshQuadratic
typeQuadratic menu option, for my custom problem type. I have used

GiDMenu::RemoveOption "Mesh" [list "Quadratic type" "Quadratic"] PRE _

but it is not working. I have removed other menu options which I don't need,
but with this one it is not working.



2. What is the easiest way to put in the menu the following options:

Mesh Element type Triangular_6_Nodes (instead of Element typeTriangular
with Quadratic typeQuadratic)

Mesh Element type Quadrilateral_4_Nodes (instead of Element
typeQuadrilateral with Quadratic typeLinear)

Mesh Element type Quadrilateral_9_Nodes (instead of Element
typeQuadrilateral with Quadratic typeQuadratic)

Note that after that I don't need the Quadratic type option any more.



Can these Element type and Quadratic type options be merged, to have new
options like I explained above? Thanks in advance for the help.



Best regards,

M.Marjanovic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131016/5b2887b0/attachment.htm
Post Reply