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

Setup sources recievers #20

Closed Rohit-Kakodkar closed 1 year ago

Rohit-Kakodkar commented 1 year ago

Description

This update sets up sources and receiver class. There are 2 types of sources 1. Collocated force source, 2. Moment-tensor source. Each source object has methods titled compute_source_arrray and compute_stf to compute the matrices required to define the effect of the source.

Issue Number

If there is an issue created for these changes, link it here

closes #11 closes #12 closes #13 closes #16 closes #17

Checklist

Please make sure to check developer documentation on specfem docs.

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

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 62ab761):

https://specfem-kokkos--pr20-setup-sources-reciev-kn3anmo8.web.app

(expires Thu, 15 Dec 2022 15:02:12 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 51d90c814ea3f3c5bec4951920458fd82e6db885