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.
#2090 (useless array allocation in dia_wri_alloc) – NEMO

Opened 5 years ago

Closed 5 years ago

#2090 closed Defect (fixed)

useless array allocation in dia_wri_alloc

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: OCE Version: trunk
Severity: minor Keywords:
Cc:

Description (last modified by smasson)

dia_wri_alloc allocates three 2D (ndex_h[TUV]) and three 3D arrays (ndex_[TUV]) that are used only if we don't use key_iomput (in histwrite and wheneq).

-> dia_wri_alloc should allocate nothing if we use key_iomput

-> without key_iomput, since ticket:1560, these indexes have no effects...

Commit History (0)

(No commits)

Change History (3)

comment:1 Changed 5 years ago by smasson

  • Description modified (diff)

comment:2 Changed 5 years ago by smasson

In 9652:

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

comment:3 Changed 5 years ago by smasson

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

done, see [9652].

Note: See TracTickets for help on using tickets.