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

Grid interpolation #9

Open
PabRod opened this issue Feb 15, 2024 · 0 comments
Open

Grid interpolation #9

PabRod opened this issue Feb 15, 2024 · 0 comments

Comments

@PabRod
Copy link
Contributor

PabRod commented Feb 15, 2024

Problem

The communication between multiple numerical models for a boundary problem operating within the same geometry requires to efficiently sharing information. Some of these pieces of information are relativelly trivial, such as state, time, and parameters, but others are way less straightforward, such as integration_times and, most importantly, integration_grid.

Suggested approach

  1. Understand the problem.
    • Brainstorm about the problem.
    • Google a bit. It is hard to believe this is a novel problem.
    • Ask internally. Good candidates are Lourens and Johan.
  2. Implement a solution. Here is my suggestion:
    • Minimal: enforce the use of the same grid ab initio for all integrators.
    • Intermediate: use direct interpolation, i.e.:, assume that if $I(x)$ returns the interpolated value of $x$, then $F(I(x)) \approx I(F(x))$
    • Excellent: use automatic differentiation for a more system-informed interpolation, i.e.:, assume that $F(I(x)) \approx F(x) + F'(x) \epsilon + O(\epsilon^2)$, where $\epsilon$ depends on the interpolation method $I$.
@PabRod PabRod added this to Main Feb 15, 2024
@PabRod PabRod moved this to Todo in Main Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant