Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure IO routines #108

Open
3 tasks done
Rohit-Kakodkar opened this issue Oct 7, 2024 · 2 comments
Open
3 tasks done

Restructure IO routines #108

Rohit-Kakodkar opened this issue Oct 7, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@Rohit-Kakodkar Rohit-Kakodkar added the good first issue Good for newcomers label Oct 7, 2024
@Rohit-Kakodkar
Copy link
Collaborator Author

@lsawade suggested by lucas

@lsawade lsawade self-assigned this Oct 8, 2024
@lsawade
Copy link
Collaborator

lsawade commented Nov 19, 2024

Working on this on branch #issue-108

  • Move the constructor for mesh struct mesh(const std::string filename, const specfem::MPI::MPI *mpi); to a function IO namespace since this constructors reads an external database file. The IO function should return specfem::mesh::mesh instance.
  • Move constructor for sources to read_sources
  • Move constructor for receivers to read_receivers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants