New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 532 for trunk/NEMO/OPA_SRC/SBC – NEMO

Changeset 532 for trunk/NEMO/OPA_SRC/SBC


Ignore:
Timestamp:
2006-10-20T08:36:42+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_76 : CT : add OASIS[3-4] interfaces to build coupled configurations

Location:
trunk/NEMO/OPA_SRC/SBC
Files:
5 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/flxmod.F90

    r473 r532  
    1414   USE ocfzpt          ! ocean freezing point 
    1515 
     16#if defined key_oasis3 || defined key_oasis4 
     17#if defined key_oasis3 
     18   USE cpl_oasis3      ! OASIS3 coupling (to ECHAM5) 
     19#else if defined key_oasis4 
     20   USE cpl_oasis4      ! OASIS4 coupling (to ECHAM5) 
     21#endif 
     22   USE flx_oce, only : dqns_ice , & ! : derivative of non solar heat flux on sea ice 
     23                       qsr_oce  , & ! : solar flux over ocean 
     24                       qnsr_oce , & ! : total non solar heat flux (longwave downward radiation) over ocean 
     25                       qsr_ice  , & ! : solar flux over ice 
     26                       qnsr_ice , & ! : total non solar heat flux (Longwave downward radiation) over ice 
     27                       tn_ice   , & ! : ice surface temperature 
     28                       alb_ice  , & ! : albedo of ice 
     29                       sprecip  , & ! : solid (snow) precipitation over water (!) what about ice? 
     30                       tprecip  , & ! : total precipitation ( or liquid precip minus evaporation in coupled mode) 
     31                       calving  , & ! : calving 
     32                       rrunoff  , & ! : monthly runoff (kg/m2/s) 
     33                       fr1_i0   , & ! : 1st part of the fraction of sol.rad. which penetrate inside the ice cover 
     34                       fr2_i0       ! : 2nd part of the fraction of sol.rad. which penetrate inside the ice cover 
     35 
     36   USE ice, only    : hicif ,     & ! : ice thickness 
     37                      frld  ,     & ! : leads fraction = 1-a/totalarea 
     38                      hsnif  ,    & ! : snow thickness 
     39                      u_ice , v_ice ! : ice velocity 
     40 
     41   USE ice_oce, only : sst_io      ! : sea surface temperature 
     42 
     43#if defined key_cpl_ocevel 
     44   USE geo2ocean, only : repere, repcmo 
     45#endif 
     46#endif 
    1647   IMPLICIT NONE 
    1748   PRIVATE 
    1849 
     50#if defined key_oasis3 || defined key_oasis4 
     51   REAL(wp), DIMENSION(jpi,jpj) :: catm 
     52#endif 
    1953   !! * Routine accessibility 
    2054   PUBLIC flx       ! routine called by step.F90 
     
    6599#  include "flx_forced_daily.h90" 
    66100 
    67 #elif defined key_coupled 
    68 # if defined key_ice_lim 
     101#elif defined key_oasis3  ||  defined key_oasis4 
    69102   !!---------------------------------------------------------------------- 
    70    !!   'key_coupled'  and                          Coupled Ocan/Atmosphere 
     103   !!   'key_oasis3'  or 'key_oasis4' and           Coupled Ocan/Atmosphere 
    71104   !!   'key_ice_lim'                               with  LIM sea-ice model 
    72105   !!---------------------------------------------------------------------- 
    73 #  include "flx_coupled_ice.h90" 
    74  
    75 # else 
    76    !!---------------------------------------------------------------------- 
    77    !!   'key_flx_coupled'  and                      Coupled Ocan/Atmosphere 
    78    !!   Default option                              without   sea-ice model 
    79    !!---------------------------------------------------------------------- 
    80 #  include "flx_coupled_noice.h90" 
    81  
    82 # endif 
     106#  include "flx_oasis_ice.h90" 
    83107#else 
    84108   !!---------------------------------------------------------------------- 
  • trunk/NEMO/OPA_SRC/SBC/taumod.F90

    r434 r532  
    1515   USE lbclnk          !  
    1616 
     17#if defined key_oasis3 || defined key_oasis4 
     18   USE geo2ocean, only : repcmo 
     19   USE ice, only       : frld       ! : leads fraction = 1-a/totalarea 
     20#if defined key_oasis3 
     21   USE cpl_oasis3      ! OASIS3 coupling (to ECHAM5) 
     22#else if defined key_oasis4 
     23   USE cpl_oasis4      ! OASIS4 coupling (to ECHAM5) 
     24#endif 
     25#endif 
    1726   IMPLICIT NONE 
    1827   PRIVATE 
     
    4857#   include "tau_forced_daily.h90" 
    4958 
    50 #elif defined key_coupled 
     59#elif defined key_oasis3  ||  defined key_oasis4 
    5160   ! Coupled case : stress at the coupling frequency 
    52 # if defined key_ice_lim 
    53    !!---------------------------------------------------------------------- 
    54    !!   'key_coupled'                              Coupled Ocean/Atmosphere 
     61   !!---------------------------------------------------------------------- 
     62   !!   'key_oasis3' or 'key_oasis4' and           Coupled Ocean/Atmosphere 
    5563   !!   'key_ice_lim'                                   LIM sea-ice 
    5664   !!---------------------------------------------------------------------- 
    5765   ! New way: 3D referential link to the earth (avoid north pole pb) 
    5866   ! (3 component stress defined at U- and V-points) 
    59 #  include "tau_coupled_ice.h90" 
    60 # else 
    61    !!---------------------------------------------------------------------- 
    62    !!   'key_coupled'                              Coupled Ocean/Atmosphere 
    63    !!   Default case                                  NO sea-ice 
    64    !!---------------------------------------------------------------------- 
    65    ! old fashion: geographical referential 
    66    ! (zonal and meridional stress defined at U- and V-points) 
    67 #  include "tau_coupled.h90" 
    68 # endif 
     67#  include "tau_oasis_ice.h90" 
    6968#else 
    7069   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.