Skip to content

Error in horizontal mixing for w in mpas_atm_time_integration.F #6

Closed

Description

@matusmartini

Looking at mpas_atm_time_integration.F at line 2586:

theta_turb_flux = 0.25*(kdiff(k,cell1)+kdiff(k,cell2)+kdiff(k-1,cell1)+kdiff(k,cell2)) &

I think the vertical index in the last term should be kdiff(k-1,cell2)) and not kdiff(k,cell2)). Is it supposed to be an average of four values (two neighboring cells in horizontal and vertical)? Would you please take a look at this.

Thank you,
Matus

Matus Martini
Postdoctoral Research Associate
Atmospheric Sciences and Global Change Division
Pacific Northwest National Laboratory
Tel: 509-372-4082

Activity

  1. mgduda commented on Sep 4, 2013

    @mgduda
    Contributor

    Hi, Matus.

    Thanks for spotting this bug; we've corrected the error in a new bugfix release, v1.5.

    Best regards,
    Michael

  2. added a commit that references this issue on Aug 5, 2020
  3. added a commit that references this issue on Jan 14, 2021
  4. added a commit that references this issue on Sep 29, 2022
  5. added a commit that references this issue on May 11, 2023
  6. 22 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions