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 10822 for NEMO/branches/2019/dev_r10742_ENHANCE-12_SimonM-Tides/src/OCE/SBC/sbctide.F90 – NEMO

Ignore:
Timestamp:
2019-04-01T17:50:07+02:00 (5 years ago)
Author:
smueller
Message:

Addition of a new type (tide_harmonics in module tide_mod), two replacements of four separate arrays for the storage of oscillation parameters by one array of variables of this new type (in modules diaharm and tide_mod), and related adjustments in various modules (bdytides, diaharm, sbctides, and tide_mod) (ticket #2194)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10742_ENHANCE-12_SimonM-Tides/src/OCE/SBC/sbctide.F90

    r10811 r10822  
    6161            kt_tide = kt  
    6262         ENDIF 
    63          CALL tide_harmo( omega_tide, v0tide, utide, ftide, nb_harmo ) 
     63         CALL tide_harmo(tide_components, tide_harmonics) ! Update oscillation parameters of tidal components 
    6464         ! 
    6565         ! 
     
    6969            WRITE(numout,*) '~~~~~~~~ ' 
    7070            DO jk = 1, nb_harmo 
    71                WRITE(numout,*) tide_components(jk)%cname_tide, utide(jk), ftide(jk), v0tide(jk), omega_tide(jk) 
     71               WRITE(numout,*) tide_harmonics(jk)%cname_tide, tide_harmonics(jk)%u, & 
     72                  &            tide_harmonics(jk)%f,tide_harmonics(jk)%v0, tide_harmonics(jk)%omega 
    7273            END DO 
    7374         ENDIF 
Note: See TracChangeset for help on using the changeset viewer.