Computes the modal frequencies and modes shapes for multi-degree-of-freedom system.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:,:) | :: | mass |
The N-by-N mass matrix for the system. This matrix must be symmetric. |
|
| real(kind=real64), | intent(in), | dimension(:,:) | :: | stiff |
The N-by-N stiffness matrix for the system. This matrix must be symmetric. |
|
| real(kind=real64), | intent(out), | allocatable, dimension(:) | :: | freqs |
An allocatable N-element array where the modal frequencies will be returned in ascending order with units of rad/s. |
|
| real(kind=real64), | intent(out), | optional, | allocatable, dimension(:,:) | :: | modeshapes |
An optional, allocatable N-by-N matrix where the N mode shapes for the system will be returned. The mode shapes are stored in columns. |
| class(errors), | intent(inout), | optional, | target | :: | err |