E3SM-Project / E3SM-Project/HOMMEXX

Hide the repeated mod-div arithmetic

Open
#359 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

From @ambrad:
We could imagine at some point as a design issue making a bunch of Homme::parallel_for's that hide this somewhat frequently repeated identical div-mod arithmetic and provide the functor with (ie,iq,igp,jgp,k) and variants.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing Homme::parallel_for call sites and the repeated div-mod arithmetic described in the issue. Compare the variants that provide (ie, iq, igp, jgp, k), then clarify the intended shared interface; done means the design is agreed and the repeated arithmetic is hidden behind the parallel_for helpers.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.