public  subroutine calc_elastic_scattering(p, g, f)  
    
    calculates the
absolute square Fourier transform of the electron density
on a cartesian reciprocal grid
    Arguments
        
    
      
        | Type | 
Intent | Optional |         Attributes | 
         | 
        Name | 
         | 
    
    
        
            | 
              
              type(param),
             | 
intent(in) | 
               |             
              
             | 
            :: | 
            p | 
            
                
             | 
        
        
            | 
              
              type(grid3d),
             | 
intent(in) | 
               |             
              
             | 
            :: | 
            g | 
            
                
             | 
        
        
            | 
              
              type(wf_data),
             | 
intent(in) | 
               |             
              
             | 
            :: | 
            f | 
            
                
             |