Go to the source code of this file.
 | 
| subroutine  | umpc_dist (x, u, f, a, jdof, n, force, iit, idiscon) | 
|   | 
◆ umpc_dist()
      
        
          | subroutine umpc_dist  | 
          ( | 
          real*8, dimension(3,*)  | 
          x,  | 
        
        
           | 
           | 
          real*8, dimension(3,*)  | 
          u,  | 
        
        
           | 
           | 
          real*8  | 
          f,  | 
        
        
           | 
           | 
          real*8, dimension(*)  | 
          a,  | 
        
        
           | 
           | 
          integer, dimension(*)  | 
          jdof,  | 
        
        
           | 
           | 
          integer  | 
          n,  | 
        
        
           | 
           | 
          real*8  | 
          force,  | 
        
        
           | 
           | 
          integer  | 
          iit,  | 
        
        
           | 
           | 
          integer  | 
          idiscon  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
   62       integer jdof(*),n,iit,ifix,idiscon
    64       real*8 x(3,*),u(3,*),f,a(*),
dist(3),force
    74       dist(1)=x(1,1)+u(1,1)-x(1,4)-u(1,4)
    75       dist(2)=x(2,1)+u(2,1)-x(2,4)-u(2,4)
    76       dist(3)=x(3,1)+u(3,1)-x(3,4)-u(3,4)
   102             write(*,*) 
'switch to linked'   116          if(force.le.0.d0) 
then   120          elseif(iit.le.1) 
then   124             write(*,*) 
'switch to free'   136       if(dabs(
dist(jdof(1))).gt.1.d-10) 
then   137          a(1)=2.d0*
dist(jdof(1))
   138          if(jdof(1).eq.1) 
then   141          elseif(jdof(1).eq.2) 
then   148          a(2)=2.d0*
dist(jdof(2))
   149          a(3)=2.d0*
dist(jdof(3))
   151          if(jdof(1).eq.3) 
then   156          if(dabs(
dist(jdof(1))).gt.1.d-10) 
then   157             a(1)=2.d0*
dist(jdof(1))
   158             if(jdof(1).eq.1) 
then   161             elseif(jdof(1).eq.2) 
then   168             a(2)=2.d0*
dist(jdof(2))
   169             a(3)=2.d0*
dist(jdof(3))
   171             if(jdof(1).eq.3) 
then   176             if(dabs(
dist(jdof(1))).gt.1.d-10) 
then   177                a(1)=2.d0*
dist(jdof(1))
   178                if(jdof(1).eq.1) 
then   181                elseif(jdof(1).eq.2) 
then   188                a(2)=2.d0*
dist(jdof(2))
   189                a(3)=2.d0*
dist(jdof(3))
 static double * dist
Definition: radflowload.c:42