Skip to content

refactor wave parameters#329

Draft
Ig-dolci wants to merge 2 commits into
mainfrom
control_parameter
Draft

refactor wave parameters#329
Ig-dolci wants to merge 2 commits into
mainfrom
control_parameter

Conversation

@Ig-dolci

Copy link
Copy Markdown
Collaborator

No description provided.

@Ig-dolci

Copy link
Copy Markdown
Collaborator Author

See issue #254.

@Olender

Olender commented Jul 15, 2026

Copy link
Copy Markdown
Member

I see you want to remove the _initialize_model_parameters and the set_initial_velocity_model from wave. THe set_material_property method was created to generalize it to different wave types and it should make those other methods obsolete

Comment thread spyro/solvers/wave.py
dt_solver = Modal_Solver(self.dimension, method=method,
calc_max_dt=True)
max_dt = dt_solver.estimate_timestep(c, self.function_space,
max_dt = dt_solver.estimate_timestep(cfl_wave_speed, self.function_space,

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More thoughts about the CLF condition for general cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants