Skip to content

Added inline compution of time derivative of real fields.#5

Merged
rvarennes merged 1 commit into
mainfrom
RV_time_derivatives
Jan 20, 2026
Merged

Added inline compution of time derivative of real fields.#5
rvarennes merged 1 commit into
mainfrom
RV_time_derivatives

Conversation

@rvarennes

Copy link
Copy Markdown
Member

Added an inline computation of the time derivative of evolved fields with an order 8 central finite differences scheme.
Main modifications:

  • In src/simulation/run_simulation.py: added an initialization of necessary objects to compute the central difference, added a function to gather fields values at previous time step in order to compute the finite difference
  • In src/interfaces/input_reader.py: added the input user entry "compute_time_derivatives"
  • In src/interfaces/output_saver.py slight modification of the save_output method to allow overwriting existing field (through a new argument of the function).

@rvarennes rvarennes merged commit 6d93fcc into main Jan 20, 2026
2 checks passed
@rvarennes rvarennes deleted the RV_time_derivatives branch January 20, 2026 13:27
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.

1 participant