-
Notifications
You must be signed in to change notification settings - Fork 9
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
Property reader / writer #348
Conversation
Define runtime parameters in Python
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a test should be implemented to check whether reading/writing is done properly, other than that it L Amazing TM!
src/specfem2d.cpp
Outdated
@@ -163,9 +163,31 @@ void execute(const std::string ¶meter_file, const std::string &default_file, | |||
specfem::compute::assembly assembly( | |||
mesh, quadrature, sources, receivers, setup.get_seismogram_types(), | |||
setup.get_t0(), dt, nsteps, max_seismogram_time_step, | |||
setup.get_simulation_type()); | |||
setup.get_simulation_type(), true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assign property boolean should come from setup class. If we are planning to set it to true always then we dont need a boolean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I forgot to change this. Now updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we saw these changes as previous PR into issue-343
Refactor reader / writer to IO namespace
Description
Read / write GLL properties. Usage:
Issue Number
Closes #343 and #344