pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFTElement =========================================================== .. py:module:: pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFTElement Classes ------- .. autoapisummary:: pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFTElement.DLFTElement Module Contents --------------- .. py:class:: DLFTElement(nh: int | list[int], nti: int, name: str, data: dict, CS: pyHarm.CoordinateSystem.CoordinateSystem, dynop: Optional[dict[str, numpy.ndarray]] = None) Bases: :py:obj:`pyHarm.Elements.NodeToNodeElements.NodeToNodeElement.NodeToNodeElement` This element is modification of the ABCElement in order to take into account the required modifications needed when using DLFT elements. .. attribute:: flag_nonlinear if True, the element is nonlinear. :type: bool .. attribute:: flag_AFT if True, the element requires an alternating frequency/time domain procedure for computing residuals. :type: bool .. attribute:: flag_DLFT if True, the element uses the dynamic Lagrangian method for computing the residuals. :type: bool .. py:attribute:: factory_keyword :type: str :value: 'DLFTElement' keyword that is used to call the creation of this class in the system factory. :type: str .. py:method:: __flag_update__() .. py:method:: adim() Modifies the element properties according to the characteristic length and angular frequency. :param lc: characteristic length value. :type lc: float :param wc: characteristic angular frequency value. :type wc: float .. py:method:: _evalJaco_DF(xg, om, Rglin, dJgdxlin, dJgdomlin, step) Computes the jacobian using finite difference method for DLFT Elements. :param xg: full displacement vector. :type xg: np.ndarray :param om: angular frequency value. :type om: float :param Rglin: Residual of all the linear contributions. :type Rglin: float :param dJgdxlin: Jacobian with respect to displacement of all the linear contributions. :type dJgdxlin: float :param dJgdomlin: Jacobian with respect to angular frequency of all the linear contributions. :type dJgdomlin: float :param step: step size for the finite difference method. :type step: float :returns: jacobian with respect to displacement vector. dJdom (np.ndarray): jacobian with respect to angular frequency. :rtype: dJdx (np.ndarray)