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