COSMOS v7.655  COSMOSv7655
(AirShowerMC)
kseblk.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine kseblk (text, c, lc)
 

Function/Subroutine Documentation

◆ kseblk()

subroutine kseblk ( character*(*)  text,
character*1  c,
integer  lc 
)

Definition at line 18 of file kseblk.f.

Referenced by cinitracking(), creplst(), outtrace(), and xbgrun().

18  implicit none
19  integer lc
20 !
21  character*(*) text
22  character*1 c
23 
24  integer klena, l, i, lg
25 !
26  l=klena(text)
27  lc=0
28  do i=1, l
29  if(text(i:i) .ne. ' ') then
30  lc=lc+1
31  if(text(i:i) .eq. c) then
32  text(lc:lc)=' '
33  else
34  text(lc:lc)=text(i:i)
35  endif
36  endif
37  enddo
38  lg=len(text)
39  if(lg .gt. lc) then
40  text(lc+1:lg)=' '
41  endif
nodes i
integer function klena(cha)
Definition: klena.f:20
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130
Here is the caller graph for this function: