imat_elem/elemtype_n2i


Purpose

Return I-deas element type for given NASTRAN element type.

Syntax

itype=imat_elem.elemtype_n2i(33)
itype=imat_elem.elemtype_n2i(ntype)

Description

ELEMTYPE_N2I returns a corresponding I-deas element type(s) for the supplied NASTRAN element type(s). IMAT_ELEM uses Nastran element type numbering, and results imported from Universal files use the I-deas element type numbering. This method can be useful for mapping between the two. Please note that in many cases a NASTRAN element type could map to more than one I-deas element type, and some NASTRAN element types do not have a corresponding I-deas element type.

NTYPE is a vector of NASTRAN element types, which are the IMAT element types.

ITYPE is a corresponding vector of I-deas element types. If there is no corresponding element type, ITYPE returns -1.

Note that since this is a static method of IMAT_ELEM, to call it you must prefix it with the class name, as in

>> imat_elem.elemtype_n2i(33)

See Also

imat_elem/elemtype_i2n