Opened 5 years ago

Closed 7 months ago

#1512 closed Defect (fixed)

Function cpl_freq not consistent with OASIS interface

Reported by: ufla Owned by: jamrae
Priority: low Milestone:
Component: OCE Version: release-3.6
Severity: minor Keywords:
Cc:

Description

There are issues with the way oasis_get_freqs is called from cpl_freq in cpl_oasis3.F90. The subroutine name 'cpl_freq' and the code comments suggest that one can ask for the coupling frequency of an arbitrary coupling field (kid). However,

  • it works only for coupling fields with ncpl=1 (i.e. with single entries in the namcouple file)
  • it will not work with OASIS3-MCT-3.0 since a new parameter (mop: OASIS_Out or OASIS_In) is required when calling oasis_get_freqs

It is not a major issue right now because cpl_freq is only used in one place (sbccpl.F90) for a very specific issue (ln_dm2dc) but it's an inconsistency that can lead to other errors when somebody decides to use cpl_freq for other purposes.

Commit History (0)

(No commits)

Change History (5)

comment:1 Changed 3 years ago by clevy

  • Owner changed from nemo to cetlod
  • Version changed from nemo_v3_6_alpha to nemo_v3_6_STABLE

comment:2 Changed 3 years ago by clevy

  • Cc diovino added
  • Owner changed from cetlod to diovino
  • Status changed from new to assigned

comment:3 Changed 3 years ago by nicolasmartin

  • Type changed from Bug to Defect

comment:4 Changed 3 years ago by clevy

  • Cc diovino removed
  • Owner changed from diovino to jamrae
  • Severity set to minor

comment:5 Changed 7 months ago by smasson

  • Resolution set to fixed
  • Status changed from assigned to closed

soved in [5407]

Note: See TracTickets for help on using tickets.