PrincetonUniversity / SPECFEMPP

SPECFEM++ is a complete re-write of SPECFEM suite of packages (SPECFEM2D, SPECFEM3D, SPECFEM3D_GLOBE) using C++
https://specfem2d-kokkos.readthedocs.io/en/latest/
GNU General Public License v3.0
16 stars 9 forks source link

Utilize sub2ind routine for index conversion #65

Closed Rohit-Kakodkar closed 1 year ago

Rohit-Kakodkar commented 1 year ago

Use sub2ind routine provided inside specfem_setup.hpp as the dafault routine to convert index. For example, elastic_domain.tpp:666 uses modulus to convert index we'd like to modify this to use sub2ind for index conversion.

williameaton commented 1 year ago

Please assign this to me.