anchor.diff:  
      TYPE(BD_InputType)                            :: u_interp                     ! temporary copy of inputs, transferred to BD local system
      REAL(BDKi)                                    :: ScaleFactor                  ! Factor for scaling applied loads at each step
  -   INTEGER(IntKi)                                :: i
      INTEGER(IntKi)                                :: j                            ! Generic counters
      INTEGER(IntKi)                                :: piter
      REAL(BDKi)                                    :: gravity_temp(3)
  
positive.code:    ! local variables
     INTEGER(IntKi)          :: i                ! do-loop counter
     INTEGER(IntKi)          :: j                ! do-loop counter
     INTEGER(IntKi)          :: idx_qp           !< index of current quadrature point in loop
     INTEGER(IntKi)          :: member_first_kp
     INTEGER(IntKi)          :: member_last_kp
     INTEGER(IntKi)          :: temp_id2
     REAL(BDKi)              :: eta
     REAL(BDKi)              :: temp_POS(3)
     REAL(BDKi)              :: temp_CRV(3)
  
negative.code:    REAL(BDKi)                  :: b11(3,3)
     REAL(BDKi)                  :: b12(3,3)
     REAL(BDKi)                  :: alpha(3,3)
  
     INTEGER(IntKi)              :: idx_qp      !< index of current quadrature point
     
  