My Project
Functions/Subroutines
genmap_obc.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine genmap_obc
 

Function/Subroutine Documentation

◆ genmap_obc()

subroutine genmap_obc ( )

Definition at line 42 of file genmap_obc.f90.

42 !==============================================================================|
43 ! OBC Node Number
44 ! TS OBC Type
45 ! OBC Node list and types
46 !==============================================================================|
47  USE mod_obcs
48  USE bcs
49  USE mod_par
50  USE lims
51  USE control
52  IMPLICIT NONE
53  integer :: SENDER,RECVER, ierr, I, NCNT, NSZE, I1
54 
55  INTEGER, POINTER :: TEMP1(:),TEMP2(:)
56  INTEGER, POINTER :: TEMP3(:),TEMP4(:)
57 
58  if (dbg_set(dbg_sbr)) &
59  & write(ipt,*) "START: SETUP_OBCMAP"
60 
61  IF(serial) THEN
62  iobcn = iobcn_gl
63 
64  ALLOCATE(i_obc_n(iobcn))
66  ALLOCATE(type_obc(iobcn))
68 
69  ALLOCATE(i_obc_n_output(iobcn))
71 
72  if (dbg_set(dbg_sbr)) &
73  & write(ipt,*) "END: GENMAP_OBC - serial"
74  return
75  END IF
76 
77 
78  if (dbg_set(dbg_sbr)) &
79  & write(ipt,*) "END: SETUP_OBCMAP - parallel"
80  RETURN
logical serial
Definition: mod_main.f90:100
integer, dimension(:), allocatable type_obc
Definition: mod_main.f90:1783
logical function dbg_set(vrb)
Definition: mod_utils.f90:182
integer, dimension(:), allocatable i_obc_gl
Definition: mod_main.f90:1773
integer iobcn
Definition: mod_main.f90:1777
integer, dimension(:), allocatable i_obc_n
Definition: mod_main.f90:1779
integer, dimension(:), allocatable i_obc_n_output
Definition: mod_main.f90:1781
integer, dimension(:), allocatable type_obc_gl
Definition: mod_main.f90:1782
integer iobcn_gl
Definition: mod_main.f90:1775
integer ipt
Definition: mod_main.f90:922
integer, parameter dbg_sbr
Definition: mod_utils.f90:69
Here is the caller graph for this function: