My Project
genmap_lsf.f90
Go to the documentation of this file.
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 !/===========================================================================/
13 ! Copyright (c) 2007, The University of Massachusetts Dartmouth
14 ! Produced at the School of Marine Science & Technology
15 ! Marine Ecosystem Dynamics Modeling group
16 ! All rights reserved.
17 !
18 ! FVCOM has been developed by the joint UMASSD-WHOI research team. For
19 ! details of authorship and attribution of credit please see the FVCOM
20 ! technical manual or contact the MEDM group.
21 !
22 !
23 ! This file is part of FVCOM. For details, see http://fvcom.smast.umassd.edu
24 ! The full copyright notice is contained in the file COPYRIGHT located in the
25 ! root directory of the FVCOM code. This original header must be maintained
26 ! in all distributed versions.
27 !
28 ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29 ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
30 ! THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
31 ! PURPOSE ARE DISCLAIMED.
32 !
33 !/---------------------------------------------------------------------------/
34 ! CVS VERSION INFORMATION
35 ! $Id$
36 ! $Name$
37 ! $Revision$
38 !/===========================================================================/
39 
40 !==============================================================================|
41 SUBROUTINE genmap_lsf
42 !==============================================================================|
43 ! OBC Node Number
44 ! TS OBC Type
45 ! OBC Node list and types
46 !==============================================================================|
47  USE mod_par
48  USE lims
49  USE control
50  USE all_vars
51  IMPLICIT NONE
52  integer :: SENDER,RECVER, ierr, I, NCNT, NSZE, I1
53 
54  INTEGER, POINTER :: TEMP1(:),TEMP2(:)
55  INTEGER, POINTER :: TEMP3(:),TEMP4(:)
56 
57  REAL(SP), POINTER :: FTMP1(:),FTMP2(:)
58  REAL(SP), POINTER :: FTMP3(:),FTMP4(:)
59 
60 
61  if (dbg_set(dbg_sbr)) &
62  & write(ipt,*) "START: SETUP_LSFMAP"
63 
64  IF(serial) THEN
66 
67  ALLOCATE(ibclsf(nobclsf))
69  DEALLOCATE(ibclsf_gl)
70 
71  ALLOCATE(rbc_geo(nobclsf))
73  DEALLOCATE(rbc_geo_gl)
74 
75  ALLOCATE(rbc_wdf(nobclsf))
77  DEALLOCATE(rbc_wdf_gl)
78 
79  ALLOCATE(ibclsf_output(nobclsf))
81 
82  if (dbg_set(dbg_sbr)) &
83  & write(ipt,*) "END: GENMAP_LSF - serial"
84  return
85  END IF
86 
87 
88  if (dbg_set(dbg_sbr)) &
89  & write(ipt,*) "END: SETUP_LSFMAP - parallel"
90  RETURN
91 END SUBROUTINE genmap_lsf
92 
logical serial
Definition: mod_main.f90:100
subroutine genmap_lsf
Definition: genmap_lsf.f90:42
real(sp), dimension(:), allocatable, target rbc_geo_gl
Definition: mod_main.f90:1075
integer, dimension(:), allocatable, target ibclsf
Definition: mod_main.f90:1080
integer, dimension(:), allocatable, target ibclsf_output
Definition: mod_main.f90:1081
real(sp), dimension(:), allocatable, target rbc_wdf_gl
Definition: mod_main.f90:1076
integer nobclsf
Definition: mod_main.f90:58
real(sp), dimension(:), allocatable, target rbc_geo
Definition: mod_main.f90:1083
real(sp), dimension(:), allocatable, target rbc_wdf
Definition: mod_main.f90:1084
integer ipt
Definition: mod_main.f90:922
integer nobclsf_gl
Definition: mod_main.f90:52
integer, dimension(:), allocatable, target ibclsf_gl
Definition: mod_main.f90:1074