imat_elem/elemtype_f2i


Purpose

Return I-deas element type for given FEMAP element type and topology.

Syntax

ntype=imat_elem.elemtype_f2i(13,4)
ntype=imat_elem.elemtype_f2i(ftype,ftopo)

Description

ELEMTYPE_F2I returns a corresponding I-deas element type for the supplied FEMAP element type(s). This method is still available for completeness, since IMAT uses Nastran element type numbering. Please note that in many cases a FEMAP element type could map to more than one I-deas element type, and some FEMAP element types do not have a corresponding I-deas element type. To see the element type mapping, please look at the source code for this method.

FTYPE and FTOPO are a vector of FEMAP element types and their accompanying topologies, respectively. They must be the same length.

ITYPE is a corresponding vector of I-deas element types. If there is no corresponding element type, ITYPE is -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_f2i(13,4)

See Also

imat_elem/elemtype_n2i