damper_element_3d Interface

public interface damper_element_3d

Contents


Module Procedures

private pure function dp3d_init(c, nd1, nd2, direction) result(rst)

Initializes a new [[damper_element_3d]].

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: c

The viscous damping coefficient.

class(node), intent(in) :: nd1

The first node of the element.

class(node), intent(in) :: nd2

The second node of the element.

real(kind=real64), intent(in), optional, dimension(:) :: direction

An optional 3-element vector defining the damper axis. The vector must be non-zero and is normalized internally. If not supplied, the axis is defined by the vector from node 1 to node 2, in which case the nodes must not be coincident.

Return Value type(damper_element_3d)

The new [[damper_element_3d]].