<commit_before>!----------------------------------------------------------------------------- best with 100 columns

!***************************************
! find the bounding box of the geometry
!***************************************
subroutine findBound(rst)
  use moduleGrid
  double precision,intent(out)::rst(2,3)
  ! rst:
  !   xmin | ymin | zmin
  !   xmax | ymax | zmax
  rst(1,:)=Node(1)%Pos(:)
  rst(2,:)=Node(1)%Pos(:)
  do i=2,nNode
    rst(1,1)=min(rst(1,1),Node(i)%Pos(1))
    rst(1,2)=min(rst(1,2),Node(i)%Pos(2))
    rst(1,3)=min(rst(1,3),Node(i)%Pos(3))
    rst(2,1)=max(rst(2,1),Node(i)%Pos(1))
    rst(2,2)=max(rst(2,2),Node(i)%Pos(2))
    rst(2,3)=max(rst(2,3),Node(i)%Pos(3))
  end do
end subroutine

!***************
! show progress
!***************
subroutine showProg(v,vtot)
  double precision,intent(in)::v,vtot
  real prog
  prog=v/vtot*100d0
  write(*,'(15a,a,f5.1,a,$)'),(char(8),i=1,15),'progress:',prog,'%'<commit_msg>fix progress bar float point<commit_after>!----------------------------------------------------------------------------- best with 100 columns

!***************************************
! find the bounding box of the geometry
!***************************************
subroutine findBound(rst)
  use moduleGrid
  double precision,intent(out)::rst(2,3)
  ! rst:
  !   xmin | ymin | zmin
  !   xmax | ymax | zmax
  rst(1,:)=Node(1)%Pos(:)
  rst(2,:)=Node(1)%Pos(:)
  do i=2,nNode
    rst(1,1)=min(rst(1,1),Node(i)%Pos(1))
    rst(1,2)=min(rst(1,2),Node(i)%Pos(2))
    rst(1,3)=min(rst(1,3),Node(i)%Pos(3))
    rst(2,1)=max(rst(2,1),Node(i)%Pos(1))
    rst(2,2)=max(rst(2,2),Node(i)%Pos(2))
    rst(2,3)=max(rst(2,3),Node(i)%Pos(3))
  end do
end subroutine

!***************
! show progress
!***************
subroutine showProg(v,vtot)
  double precision,intent(in)::v,vtot
  double precision prog
  prog=v/vtot*100d0
  write(*,'(15a,a,f5.1,a,$)'),(char(8),i=1,15),'progress:',prog,'%'
{'fraction_non_alphanumeric': 0.3828246249353337, 'fraction_numerical': 0.05380237972064149, 'mean_word_length': 3.85929648241206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2091840', 'n_tokens_mistral': 842, 'n_tokens_neox': 787, 'n_words': 102}