public  subroutine construct_h0_matrix(g, b, f)  
    
    calculates the H0 matrix for given basis B: hkin+v_ext contribution
    Arguments
        
    
      
        | Type | 
Intent | Optional |         Attributes | 
         | 
        Name | 
         | 
    
    
        
            | 
              
              type(grid3d),
             | 
intent(in) | 
               |             
              
             | 
            :: | 
            g | 
            
                
             | 
        
        
            | 
              
              type(basis),
             | 
intent(in) | 
               |             
              
             | 
            :: | 
            b | 
            
                
             | 
        
        
            | 
              
              type(wf_data),
             | 
intent(inout) | 
               |             
              
             | 
            :: | 
            f | 
            
                
             |