E3SM-Project / HOMMEXX

Clone of ACME for CMDV-SE project to convert HOMME to C++
11 stars 0 forks source link

Hide the repeated mod-div arithmetic #359

Open mfdeakin-sandia opened 5 years ago

mfdeakin-sandia commented 5 years ago

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.