Return FEMAP element type for given NASTRAN element type.
ftype=imat_elem.elemtype_n2f(33)
ftype=imat_elem.elemtype_n2f(ntype)
ELEMTYPE_N2F returns corresponding FEMAP element types for the supplied NASTRAN element types. IMAT_ELEM uses the NASTRAN element type numbering. This function can be useful for mapping between NASTRAN and FEMAP. Please note that in many cases a NASTRAN element type could map to more than one FEMAP element type, and some NASTRAN element types do not have a corresponding FEMAP element type. To see the element type mapping, please look at the source code for this method.
NTYPE is a vector of NASTRAN element types, which are the IMAT element types.
FTYPE is a corresponding vector of FEMAP element types. If there is no corresponding element type, FTYPE 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_n2f(33)