SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
392 stars 223 forks source link

simplified code for reading anisotropic tomographic models with potential speed up #1568

Closed aakash10gupta closed 1 year ago

aakash10gupta commented 1 year ago

Used arrays instead of loops and repetitive statements. This has the following advantages -

  1. May potentially speed up reading of large anisotropic tomographic models.
  2. Simplifies the coding.
  3. Makes the code more readable.
buildbot-princeton commented 1 year ago

The files changed require a buildbot test. Buildbot has started.

buildbot-princeton commented 1 year ago

Your changes passed the buildbot test. See build 938.

danielpeter commented 1 year ago

accept

On 29 Nov 2022, at 4:18 AM, buildbot-princeton @.***> wrote:

Your changes passed the buildbot test. See build 938 https://urldefense.com/v3/__http://specfem3d-buildbot.princeton.edu/builders/specfem3d_builder/builds/938__;!!Nmw4Hv0!1QWZbQXFl1acUFQFnUkX8hlCOdXJdsfsDZKpVH1ilTiYbRtEtZHyoJI5_kJrwm7YYHN1waQoAydX32I3qASSCnU80bYM8Ro$.

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/SPECFEM/specfem3d/pull/1568*issuecomment-1329952389__;Iw!!Nmw4Hv0!1QWZbQXFl1acUFQFnUkX8hlCOdXJdsfsDZKpVH1ilTiYbRtEtZHyoJI5_kJrwm7YYHN1waQoAydX32I3qASSCnU8riWHdsU$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABMLXWLGNAT4PWSTVI5H2ELWKVKYFANCNFSM6AAAAAASN5MQ7A__;!!Nmw4Hv0!1QWZbQXFl1acUFQFnUkX8hlCOdXJdsfsDZKpVH1ilTiYbRtEtZHyoJI5_kJrwm7YYHN1waQoAydX32I3qASSCnU8bkWmBR4$. You are receiving this because you are subscribed to this thread.