1 | ! (C) Copyright 2014- ECMWF. |
---|
2 | |
---|
3 | ! This software is licensed under the terms of the Apache Licence Version 2.0 |
---|
4 | ! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. |
---|
5 | |
---|
6 | ! In applying this licence, ECMWF does not waive the privileges and immunities |
---|
7 | ! granted to it by virtue of its status as an intergovernmental organisation |
---|
8 | ! nor does it submit to any jurisdiction. |
---|
9 | |
---|
10 | MODULE MPL_MODULE |
---|
11 | |
---|
12 | USE PARKIND1, ONLY : JPRB |
---|
13 | |
---|
14 | IMPLICIT NONE |
---|
15 | |
---|
16 | PRIVATE |
---|
17 | |
---|
18 | INTERFACE MPL_BROADCAST |
---|
19 | |
---|
20 | MODULE PROCEDURE MPL_BROADCAST_REAL81, MPL_BROADCAST_REAL82, & |
---|
21 | & MPL_BROADCAST_REAL83, MPL_BROADCAST_REAL84 |
---|
22 | |
---|
23 | END INTERFACE MPL_BROADCAST |
---|
24 | |
---|
25 | PUBLIC MPL_BROADCAST |
---|
26 | |
---|
27 | CONTAINS |
---|
28 | |
---|
29 | SUBROUTINE MPL_BROADCAST_REAL81(KBUF,KTAG,KROOT,CDSTRING) |
---|
30 | REAL(JPRB) :: KBUF(:) |
---|
31 | INTEGER,INTENT(IN) :: KTAG |
---|
32 | INTEGER,INTENT(IN),OPTIONAL :: KROOT |
---|
33 | CHARACTER*(*),INTENT(IN) :: CDSTRING |
---|
34 | END SUBROUTINE MPL_BROADCAST_REAL81 |
---|
35 | |
---|
36 | SUBROUTINE MPL_BROADCAST_REAL82(KBUF,KTAG,KROOT,CDSTRING) |
---|
37 | REAL(JPRB) :: KBUF(:,:) |
---|
38 | INTEGER,INTENT(IN) :: KTAG |
---|
39 | INTEGER,INTENT(IN),OPTIONAL :: KROOT |
---|
40 | CHARACTER*(*),INTENT(IN) :: CDSTRING |
---|
41 | END SUBROUTINE MPL_BROADCAST_REAL82 |
---|
42 | |
---|
43 | SUBROUTINE MPL_BROADCAST_REAL83(KBUF,KTAG,KROOT,CDSTRING) |
---|
44 | REAL(JPRB) :: KBUF(:,:,:) |
---|
45 | INTEGER,INTENT(IN) :: KTAG |
---|
46 | INTEGER,INTENT(IN),OPTIONAL :: KROOT |
---|
47 | CHARACTER*(*),INTENT(IN) :: CDSTRING |
---|
48 | END SUBROUTINE MPL_BROADCAST_REAL83 |
---|
49 | |
---|
50 | SUBROUTINE MPL_BROADCAST_REAL84(KBUF,KTAG,KROOT,CDSTRING) |
---|
51 | REAL(JPRB) :: KBUF(:,:,:,:) |
---|
52 | INTEGER,INTENT(IN) :: KTAG |
---|
53 | INTEGER,INTENT(IN),OPTIONAL :: KROOT |
---|
54 | CHARACTER*(*),INTENT(IN) :: CDSTRING |
---|
55 | END SUBROUTINE MPL_BROADCAST_REAL84 |
---|
56 | |
---|
57 | END MODULE MPL_MODULE |
---|