subroutine pest_apply(jj, ipest, pest_kg, pestop)  
 
        
      
      
        
            
              
             
            
              
proc~~pest_apply~~UsesGraph 
 
proc~pest_apply 
 
pest_apply 
 
module~basin_module 
 
basin_module 
 
 
 
proc~pest_apply->module~basin_module 
 
 
 
module~constituent_mass_module 
 
constituent_mass_module 
 
 
 
proc~pest_apply->module~constituent_mass_module 
 
 
 
module~mgt_operations_module 
 
mgt_operations_module 
 
 
 
proc~pest_apply->module~mgt_operations_module 
 
 
 
module~output_ls_pesticide_module 
 
output_ls_pesticide_module 
 
 
 
proc~pest_apply->module~output_ls_pesticide_module 
 
 
 
module~plant_module 
 
plant_module 
 
 
 
proc~pest_apply->module~plant_module 
 
 
 
module~soil_module 
 
soil_module 
 
 
 
proc~pest_apply->module~soil_module 
 
 
 
module~carbon_module 
 
carbon_module 
 
 
 
module~soil_module->module~carbon_module 
 
 
 
 
 
           
          
            
              
                
                
Nodes of different colours represent the following: 
Graph Key 
 
Module 
 
Module 
 
Submodule 
 
Submodule 
 
Subroutine 
 
Subroutine 
 
Function 
 
Function 
 
Program 
 
Program 
 
This Page's Entity 
 
This Page's Entity 
 
 
 
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to 
modules which it uses.
 Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
 
             
           
         
             
         
       
     
    ~ ~ ~ PURPOSE ~ ~ ~
   this subroutine applies pesticide
~ ~ ~ INCOMING VARIABLES ~ ~ ~
   name         |units            |definition
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
   ap_ef(:)     |none             |application efficiency (0-1)
   drift(:)     |kg               |amount of pesticide drifting onto main 
                                  |channel in subbasin
   hru_km(:)    |km**2            |area of HRU in square kilometers
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ OUTGOING VARIABLES ~ ~ ~
   name        |units         |definition
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
   drift(:)    |kg            |amount of pesticide drifting onto main 
                              |channel in subbasin
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
   ~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
   SWAT: Erfc
~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
calculate ground cover
update pesticide levels on ground and foliage
    Arguments 
        
    
      
        Type 
Intent Optional         Attributes 
         
        Name 
         
      
    
        
            
               
              integer,
             
intent(in) 
                           
              
             
            :: 
            jj  
            
                
             
         
        
            
               
              integer,
             
intent(in) 
                           
              
             
            :: 
            ipest  
            
                
             
         
        
            
               
              real,
             
intent(in) 
                           
              
             
            :: 
            pest_kg  
            
                
             
         
        
            
               
              integer,
             
intent(in) 
                           
              
             
            :: 
            pestop