Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !1549

Fix mistake in the sink loops

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Matthieu Schaller requested to merge missing_sink_calls into master May 09, 2022
  • Overview 4
  • Commits 3
  • Changes 3

The current sink code is incorrect:

  • symmetric calls were not made
  • the symmetric function is empty in the GEAR version.

The loops are not treated in a symmetric way. By convention iact(a,b) has to yield the same result as iact_non_sym(a,b); iact_non_sym(b,a);.

I have fixed the code in src/runner_doiact_functions_hydro.h to make sure the symmetric calls are made. But there is still a mistake in the GEAR implementation as the symmetric function is empty.

Edited May 09, 2022 by Matthieu Schaller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: missing_sink_calls