#2398 closed Enhancement (fixed)

dia_harm routine can be very slow

Reported by: clem Owned by: systeam
Priority: low Milestone:
Component: DIA Version: release-4.0
Severity: minor Keywords:
Cc: Branch review: failed
MP ready?: no Task progress: Unspecified

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 20 months ago.

Download all attachments as: .zip

Change History (3)

Changed 20 months ago by clem

comment:1 Changed 20 months ago by clem

In 12523:

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

comment:2 Changed 20 months ago by clem

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.