Closed Rohit-Kakodkar closed 1 year ago
Visit the preview URL for this PR (updated for commit 88195c7):
https://specfem-kokkos--pr8-setup-mesh-xg2g9aap.web.app
(expires Wed, 23 Nov 2022 20:03:04 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 51d90c814ea3f3c5bec4951920458fd82e6db885
Description
Please describe the changes/features in this pull request.
Deleted read mesh database - the database is now read through mesh constructor. This will make the code more modular. Adding ADIOS database should now be trivial by adding another constructor for mesh and its sub structs.
Setup mesh in fortran is implemented as compute struct. The data for now is only held on the CPU - as I move forward need to update data to be on GPU and set sync routines.
Issue Number
If there is an issue created for these changes, link it here
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 (CPU - Serial, OpenMP and CUDA)