next up previous contents
Next: domain_check Up: Fortran: Module Interface domainMod Previous: domain_clean   Contents

domain_setptrs


INTERFACE:

   subroutine domain_setptrs(domain,ns,ni,nj,nbeg,nend,decomped,regional, &
                             mask,pftm,glcmask,clmlevel, &
                             frac,topo,latc,lonc,area,nara,ntop,asca)
DESCRIPTION:

This subroutine sets external pointer arrays to arrays in domain


USES:

ARGUMENTS:
     implicit none
     type(domain_type),intent(in)  :: domain    ! domain datatype
     integer ,optional :: ns,ni,nj,nbeg,nend    ! grid size, 2d, beg/end
     character(len=*),optional :: clmlevel      ! grid type
     logical, optional :: decomped              ! decomped or global
     logical, optional :: regional              ! regional or global
     integer ,optional,pointer  :: mask(:)  
     integer ,optional,pointer  :: pftm(:)  
     integer ,optional,pointer  :: glcmask(:)  
     real(r8),optional,pointer  :: frac(:)  
     real(r8),optional,pointer  :: topo(:)  
     real(r8),optional,pointer  :: latc(:)  
     real(r8),optional,pointer  :: lonc(:)  
     real(r8),optional,pointer  :: area(:)  
     real(r8),optional,pointer  :: nara(:)  
     real(r8),optional,pointer  :: ntop(:)  
     real(r8),optional,pointer  :: asca(:)
REVISION HISTORY:
     Created by T Craig
LOCAL VARIABLES:




Erik Kluzek 2011-06-15