anchor.diff:    DEALLOCATE(mask3)
       Re_Xferred   = Re_Xferred   + SIZE(OutData%M)
     ENDIF
  -  OutData%num_elem = IntKiBuf ( Int_Xferred )
  +  OutData%elem_total = IntKiBuf ( Int_Xferred )
     Int_Xferred   = Int_Xferred   + 1
     OutData%order = IntKiBuf ( Int_Xferred )
     Int_Xferred   = Int_Xferred   + 1
     OutData%dof_node = IntKiBuf ( Int_Xferred )
     Int_Xferred   = Int_Xferred   + 1
  -  OutData%num_node = IntKiBuf ( Int_Xferred )
  +  OutData%node_total = IntKiBuf ( Int_Xferred )
     Int_Xferred   = Int_Xferred   + 1
  -  OutData%num_dof = IntKiBuf ( Int_Xferred )
  +  OutData%dof_total = IntKiBuf ( Int_Xferred )
  +  Int_Xferred   = Int_Xferred   + 1
  +  OutData%node_elem = IntKiBuf ( Int_Xferred )
  +  Int_Xferred   = Int_Xferred   + 1
  +  OutData%dof_elem = IntKiBuf ( Int_Xferred )
     Int_Xferred   = Int_Xferred   + 1
     IF ( ALLOCATED(OutData%gll_w) ) THEN
     ALLOCATE(mask1(SIZE(OutData%gll_w,1))); mask1 = .TRUE.
  
positive.code:    END IF
     DstParamData%M = SrcParamData%M
  ENDIF
     DstParamData%num_elem = SrcParamData%num_elem
     DstParamData%order = SrcParamData%order
     DstParamData%dof_node = SrcParamData%dof_node
     DstParamData%num_node = SrcParamData%num_node
     DstParamData%num_dof = SrcParamData%num_dof
  IF (ALLOCATED(SrcParamData%gll_w)) THEN
     i1 = SIZE(SrcParamData%gll_w,1)
     IF (.NOT.ALLOCATED(DstParamData%gll_w)) THEN 
  
negative.code: ! 
     ErrStat = ErrID_None
     ErrMsg  = ""
  IF (ALLOCATED(SrcParamData%Stif0)) THEN
     i1 = SIZE(SrcParamData%Stif0,1)
     i2 = SIZE(SrcParamData%Stif0,2)
     i3 = SIZE(SrcParamData%Stif0,3)
     IF (.NOT.ALLOCATED(DstParamData%Stif0)) THEN 
        ALLOCATE(DstParamData%Stif0(i1,i2,i3),STAT=ErrStat)
        IF (ErrStat /= 0) THEN 
           ErrStat = ErrID_Fatal 
           ErrMsg = 'BDyn_CopyParam: Error allocating DstParamData%Stif0.'
           RETURN
        END IF
     END IF
     DstParamData%Stif0 = SrcParamData%Stif0
  ENDIF
  IF (ALLOCATED(SrcParamData%M)) THEN
     i1 = SIZE(SrcParamData%M,1)
  