2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
!======================================================================= |
!======================================================================= |
5 |
subroutine MITCOUPLER_init( myTypeStr, MPI_COMM_local ) |
subroutine MITCOUPLER_init( |
6 |
|
I myTypeStr, |
7 |
|
O MPI_COMM_local, msgUnit ) |
8 |
implicit none |
implicit none |
9 |
|
|
10 |
! MPI variables |
! MPI variables |
16 |
! Arguments |
! Arguments |
17 |
character*(*) myTypeStr |
character*(*) myTypeStr |
18 |
integer MPI_COMM_local |
integer MPI_COMM_local |
19 |
|
integer msgUnit |
20 |
|
|
21 |
! Functions |
! Functions |
22 |
|
|
26 |
! ------------------------------------------------------------------ |
! ------------------------------------------------------------------ |
27 |
|
|
28 |
! Homogeneous registration phase (every process Bcasts) |
! Homogeneous registration phase (every process Bcasts) |
29 |
couplerFlag=.TRUE. |
! also open a coupling log file (.clog) with I/O unit: LogUnit |
30 |
|
couplerFlag = .TRUE. |
31 |
call MITCPLR_init1( myTypeStr, couplerFlag ) |
call MITCPLR_init1( myTypeStr, couplerFlag ) |
32 |
|
msgUnit = LogUnit |
33 |
|
|
34 |
! Return the communicator for my component |
! Return the communicator for my component |
35 |
MPI_COMM_local = MPI_COMM_mylocal |
MPI_COMM_local = MPI_COMM_mylocal |