Opened 4 years ago

Last modified 2 years ago

#1512 assigned Defect

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 (4)

comment:1 Changed 2 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 2 years ago by clevy

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

comment:3 Changed 2 years ago by nicolasmartin

  • Type changed from Bug to Defect

comment:4 Changed 2 years ago by clevy

  • Cc diovino removed
  • Owner changed from diovino to jamrae
  • Severity set to minor
Note: See TracTickets for help on using tickets.