ROMS
Loading...
Searching...
No Matches
esmf_wav_void.h
Go to the documentation of this file.
2
3#if !defined WAM_COUPLING && defined ESMF_LIB
4!
5!git $Id$
6!=======================================================================
7! Copyright (c) 2002-2025 The ROMS Group !
8! Licensed under a MIT/X style license Hernan G. Arango !
9! See License_ROMS.md Ufuk Utku Turuncoglu !
10!=======================================================================
11! !
12! This module sets a void wave model gridded component using !
13! generic ESMF/NUOPC layer: !
14! !
15! WAV_SetServices Sets WAV component shared-object entry !
16! points using NUPOC generic methods for !
17! "initialize", "run", and "finalize". !
18! This routine is empty because it is !
19! used for testing purposes. !
20! !
21! ESMF: Earth System Modeling Framework (Version 7 or higher) !
22! https://www.earthsystemcog.org/projects/esmf !
23! !
24! NUOPC: National Unified Operational Prediction Capability !
25! https://www.earthsystemcog.org/projects/nuopc !
26! !
27!=======================================================================
28!
29 USE esmf
30 USE nuopc
31 USE nuopc_model, &
32 & nuopc_setservices => setservices, &
33 & nuopc_label_advance => label_advance, &
34 & nuopc_label_datainitialize => label_datainitialize
35!
36 implicit none
37!
38 PUBLIC :: wav_setservices
39!
40 CONTAINS
41!
42 SUBROUTINE wav_setservices (model, rc)
43!
44!=======================================================================
45! !
46! Sets a void wave model component shared-object entry points for !
47! "initialize", "run", and "finalize" by using NUOPC generic !
48! methods. !
49! !
50!=======================================================================
51!
52! Imported variable declarations.
53!
54 integer, intent(out) :: rc
55!
56 TYPE (esmf_gridcomp) :: model
57!
58! Local variable declarations.
59!
60 character (len=*), parameter :: myfile = &
61 & __FILE__//", WAV_SetServices"
62!
63!-----------------------------------------------------------------------
64! Initialize return code flag to success state (no error).
65!-----------------------------------------------------------------------
66!
67 rc=esmf_success
68!
69!-----------------------------------------------------------------------
70! Register NUOPC generic routines. It is empty to for testing
71!-----------------------------------------------------------------------
72!
73 RETURN
74 END SUBROUTINE wav_setservices
75!
76#endif
77 END MODULE esmf_wav_mod
78
79
subroutine, public wav_setservices(model, rc)