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.
#2398 (dia_harm routine can be very slow) – NEMO

Opened 3 years ago

Closed 3 years ago

Last modified 10 months ago

#2398 closed Enhancement (fixed)

dia_harm routine can be very slow

Reported by: clem Owned by: systeam
Priority: low Milestone:
Component: DIA Version: v4.0
Severity: minor Keywords: v4.0
Cc:

Description

Context

In some cases, the diagnostics for tidal harmonics are very very slow (i.e. long simulation with calculation every time step).
By just rearranging the calls etc in this routine, it seems that you can achieve a much better performance.
This only concerns v4.0 since v4.1 has a very different way of dealing with harmonics.

Proposal

see attached routine

Commit History (1)

ChangesetAuthorTimeChangeLog
12523clem2020-03-09T11:59:47+01:00

solve ticket #2398. This routine is now much much faster

Attachments (1)

diaharm.F90 (17.4 KB) - added by clem 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by clem

comment:1 Changed 3 years ago by clem

In 12523:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 3 years ago by clem

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

comment:3 Changed 10 months ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.