source: CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/modeles/LMDZ/tools/Max_diff_nc_with_lib/NR_util/outerand.f90 @ 5477

Last change on this file since 5477 was 5477, checked in by aclsce, 4 years ago
  • Created CONFIG_DEVT directory
  • First import of LMDZOR_V6.2_work_ENSEMBLES working configuration
File size: 311 bytes
Line 
1module outerand_m
2
3  implicit none
4
5contains
6
7  FUNCTION outerand(a,b)
8    LOGICAL, DIMENSION(:), INTENT(IN) :: a,b
9    LOGICAL, DIMENSION(size(a),size(b)) :: outerand
10    outerand = spread(a,dim=2,ncopies=size(b)) .and. &
11         spread(b,dim=1,ncopies=size(a))
12  END FUNCTION outerand
13
14end module outerand_m
Note: See TracBrowser for help on using the repository browser.