FEDEM Model Database  R8.0
Source code of the FEDEM model database
Functions/Subroutines
chainShape.f90 File Reference

Functions/Subroutines

integer function chain_shape (N, M, L, dX, dY, X, Y)
 
integer function cable_shape (N, L, dX, dY, X, Y)
 

Function/Subroutine Documentation

◆ cable_shape()

integer function cable_shape ( integer, intent(in)  N,
real*8, intent(in)  L,
real*8, intent(in)  dX,
real*8, intent(in)  dY,
real*8, dimension(n+1), intent(out)  X,
real*8, dimension(n+1), intent(out)  Y 
)
Parameters
[in]nNumber of cable segments
[in]lTotal cable length
[in]dxHorizontal distance between the end points
[in]dyVertical distance between the end points
[out]xX-coordinates of the mass points, incl. ends
[out]yY-coordinates of the mass points, incl. ends

◆ chain_shape()

integer function chain_shape ( integer, intent(in)  N,
real*8, dimension(n), intent(in)  M,
real*8, dimension(n+1), intent(in)  L,
real*8, intent(in)  dX,
real*8, intent(in)  dY,
real*8, dimension(n+2), intent(out)  X,
real*8, dimension(n+2), intent(out)  Y 
)
Parameters
[in]nNumber of mass points
[in]mPoint masses
[in]lLengths between the mass points
[in]dxHorizontal distance between the end points
[in]dyVertical distance between the end points
[out]xX-coordinates of the mass points, incl. ends
[out]yY-coordinates of the mass points, incl. ends