4#if defined MODEL_COUPLING && defined MCT_LIB
21 USE m_mctworld,
ONLY : mctworld_init => init
22 USE m_mctworld,
ONLY : mctworld_clean => clean
26 USE m_globalsegmap,
ONLY : globalsegmap
27 USE m_globalsegmap,
ONLY : globalsegmap_init => init
28 USE m_globalsegmap,
ONLY : globalsegmap_lsize => lsize
29 USE m_globalsegmap,
ONLY : globalsegmap_clean => clean
30 USE m_globalsegmap,
ONLY : globalsegmap_ordpnts => orderedpoints
34 USE m_attrvect,
ONLY : attrvect
35 USE m_attrvect,
ONLY : attrvect_init => init
36 USE m_attrvect,
ONLY : attrvect_zero => zero
37 USE m_attrvect,
ONLY : attrvect_lsize => lsize
38 USE m_attrvect,
ONLY : attrvect_clean => clean
39 USE m_attrvect,
ONLY : attrvect_importrattr => importrattr
40 USE m_attrvect,
ONLY : attrvect_exportrattr => exportrattr
44 USE m_router,
ONLY : router
45 USE m_router,
ONLY : router_init => init
46 USE m_router,
ONLY : router_clean => clean
50 USE m_transfer,
ONLY: mct_send => send
51 USE m_transfer,
ONLY: mct_recv => recv
55 USE m_sparsematrix,
ONLY : sparsematrix
56 USE m_sparsematrix,
ONLY : sparsematrix_init => init
57 USE m_sparsematrix,
ONLY : sparsematrix_importgrowind => &
58 & importglobalrowindices
59 USE m_sparsematrix,
ONLY : sparsematrix_importgcolind => &
60 & importglobalcolumnindices
61 USE m_sparsematrix,
ONLY : sparsematrix_importmatrixelts => &
62 & importmatrixelements
63 USE m_sparsematrixplus,
ONLY : sparsematrixplus
64 USE m_sparsematrixplus,
ONLY : sparsematrixplus_init => init
65 USE m_sparsematrixplus,
ONLY : sparsematrixplus_clean => clean
69 USE m_sparsematrixplus,
ONLY : xonly
73 USE m_matattrvectmul,
ONLY : mct_matvecmul => smatavmult
80 PUBLIC :: initialize_ocn2wav_coupling
81 PUBLIC :: ocn2wav_coupling
82 PUBLIC :: finalize_ocn2wav_coupling
85 PUBLIC :: initialize_ocn2atm_coupling
86 PUBLIC :: ocn2atm_coupling
87 PUBLIC :: finalize_ocn2atm_coupling
106************************************************************************
107* include model specific communication routines.
108************************************************************************
112# include "mct_roms_swan.h"
114# ifdef REFDIF_COUPLING
115# include "mct_roms_refdif.h"
118# include "mct_roms_wrf.h"
type(attrvect) wav2ocn_av
type(globalsegmap) gsmaproms
type(attrvect) ocn2atm_av
type(attrvect) ocn2wav_av
type(attrvect) atm2ocn_av