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

Change to sub2ind function #73

Closed williameaton closed 1 year ago

williameaton commented 1 year ago

Description

Changes calculation of ix, iz to utilise the sub2ind function instead

Issue Number

65

Checklist

Please make sure to check developer documentation on specfem docs.

[ x ] I ran the code through pre-commit to check style [] n/a: My code passes all the integration tests [ x ] I have added sufficient unittests to test my changes [] n/a: I have added/updated documentation for the changes I am proposing [] n/a: I have updated CMakeLists to ensure my code builds [] n/a: My code builds across all platforms