******************************************************************************
*                    FLEXPART model calling structure                        *
******************************************************************************

FLEXPART --> gasdev1 --> ran3

         --> readpaths

         --> readcommand --> juldate

                         --> skplin

         --> readageclasses

         --> readavailable --> juldate

         --> gridcheck
         --> gridcheck_nests

         --> readoutgrid --> skplin

         --> readreceptors

         --> readspecies

         --> readlanduse

         --> assignland

         --> readreleases --> skplin

                          --> part0 --> erf

         --> readdepo

         --> coordtrafo

         --> readpartpositions

         --> writeheader

         --> openreceptors

         --> openouttraj

         --> outgridvolume

         --> timemanager --> getfields --> see %1

                         --> releaseparticles --> ran1 (random.f)

                         --> convmix --> ipsort

                                     --> calcmatrix       --> convect --> tlift
                                     --> calcmatrix_nests --> convect --> tlift

                                     --> redist
                                     --> redist_nests

                                     --> calcfluxes

                         --> wetdepo --> interpol_rain
                                     --> interpol_rain_nests
 
                                     --> wetdepokernel
                                      
                         --> conccalc

                         --> concoutput --> caldate 

                                        --> mean

                         --> plumetraj --> clustering --> distance2

                                       --> centerofmass

                                       --> mean

                                       --> distance

                         --> fluxoutput --> caldate

                         --> partoutput --> caldate

                         --> initialize --> same calls as advance

                         --> advance --> ran3

                                     --> interpol_all --> sigma
                                     --> interpol_all_nests --> sigma

                                     --> interpol_misslev --> sigma
                                     --> interpol_misslev_nests --> sigma

                                     --> hanna or hanna1

                                     --> hanna_short

                                     --> interpol_vdep
                                     --> interpol_vdep_nests

                                     --> interpol_wind --> sigma
                                     --> interpol_wind_nests --> sigma

                                     --> windalign
                                      
                                     --> cll2xy (various projection routines in cmapf1.0.f)
                                     --> cxy2ll
                                      
                                     --> interpol_wind_short
                                     --> interpol_wind_short_nests



                         --> calcfluxes

                         --> drydepokernel

                         --> partoutput --> caldate

______________________________________________________________________________
%1
 --> readwind --> pbopen
              --> pbgrib
              --> swap32
              --> gribex
              --> pbclose

              --> shift_field_0

              --> shift_field

              --> pbl_profile --> psim
                              --> psih

 --> readwind_nests --> pbopen
                    --> pbgrib
                    --> swap32
                    --> gribex
                    --> pbclose

              --> pbl_profile --> psim
                              --> psih

 --> calcpar --> scalev --> ew

             --> obukhov

             --> richardson --> qvsat

             --> getvdep --> caldate
                         --> getrb
                         --> raerod --> psih
                         --> getrc
                         --> partdep

             --> calcpv

 --> calcpar_nests --> scalev --> ew

             --> obukhov

             --> richardson --> qvsat

             --> getvdep --> caldate
                         --> getrb
                         --> raerod --> psih
                         --> getrc
                         --> partdep

             --> calcpv_nests

 --> verttransform --> cc2gll (cmapf1.0.f)

 --> verttransform_nests --> cc2gll (cmapf1.0.f)
______________________________________________________________________________
