@@ -515,15 +515,15 @@ subroutine ElementForce(pLst, iiNode, JJ, FM_elm, FK_elm, sgn, DIRCOS, bUseInput
515515 end subroutine ElementForce
516516
517517 ! ====================================================================================================
518- ! > Calculates static and dynamic forces for a given element, using K and M of the element, and
519- ! output quantities Udotdot and Y2 containing the
520- ! and K2 indicating wheter the 1st (1) or 2nd (2) node is to be picked
518+ ! > Calculates static and dynamic nodal forces for a given element using its stiffness and mass matrices.
519+ ! Udotdot contains nodal accelerations and Y2 contains nodal displacements.
520+ ! FirstOrSecond selects whether the node of interest is the first (1) or second (2) node of the element.
521521 !- ---------------------------------------------------------------------------------------------------
522522 SUBROUTINE CALC_NODE_FORCES (DIRCOS ,Me ,Ke ,Udotdot ,Y2 ,Fg , FirstOrSecond , FM_nod , FK_nod )
523523 Real (FEKi), DIMENSION (3 ,3 ), INTENT (IN ) :: DIRCOS ! direction cosice matrix (global to local) (3x3)
524524 Real (FEKi), DIMENSION (12 ,12 ), INTENT (IN ) :: Me,Ke ! element M and K matrices (12x12) in GLOBAL REFERENCE (DIRCOS^T K DIRCOS)
525- Real (ReKi), DIMENSION (12 ), INTENT (IN ) :: Udotdot, Y2 ! acceleration and velocities, gravity forces
526- Real (FEKi), DIMENSION (12 ), INTENT (IN ) :: Fg ! acceleration and velocities, gravity forces
525+ Real (ReKi), DIMENSION (12 ), INTENT (IN ) :: Udotdot, Y2 ! nodal accelerations and nodal displacements
526+ Real (FEKi), DIMENSION (12 ), INTENT (IN ) :: Fg ! constant element load vector ( gravity + cable)
527527 Integer (IntKi), INTENT (IN ) :: FirstOrSecond ! 1 or 2 depending on node of interest
528528 REAL (ReKi), DIMENSION (6 ), INTENT (OUT ) :: FM_nod, FK_nod ! output static and dynamic forces and moments
529529 ! Locals
@@ -546,7 +546,7 @@ END SUBROUTINE SDOut_MapOutputs
546546
547547! ====================================================================================================
548548SUBROUTINE SDOut_CloseSum ( UnSum , ErrStat , ErrMsg )
549- INTEGER , INTENT ( IN ) :: UnSum ! the unit number for the SubDyn summary file
549+ INTEGER , INTENT ( IN ) :: UnSum ! the unit number for the SubDyn summary file
550550 INTEGER , INTENT ( OUT ) :: ErrStat ! returns a non-zero value when an error occurs
551551 CHARACTER (* ), INTENT ( OUT ) :: ErrMsg ! Error message if ErrStat /= ErrID_None
552552 ! Local variables
0 commit comments