Return NASTRAN element type for given FEMAP element type.
ntype=imat_elem.elemtype_f2n(17)
ntype=imat_elem.elemtype_f2n(ftype)
ELEMTYPE_F2I returns corresponding IMAT element types for the supplied FEMAP 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 FEMAP element type could map to more than one NASTRAN element type, and some FEMAP element types do not have a corresponding NASTRAN 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.
NTYPE is a corresponding vector of NASTRAN element types, which are the IMAT element types. If there is no corresponding element type, NTYPE 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_f2n(94)