Skip to content

Add interpolation at arbitray points for 3DH1

Ankang Gao requested to merge gaoak/nektar:feature/Interpolation3DH1 into master

Currently, the interpolation of a point from a 3DH1D field needs to relocate that point to its nearest Fourier plane. This is inconvenient if people want to output on a grid finer than the Fourier-plane-distant resolution. Besides, the last Fourier plane (z=lz) is usually relocated to z=0 when output a box, resulting in a folded box.

This MR adds interpolation at an arbitrary point for a 3DH1D field. This history point filter is also modified to enable output at an arbitrary point. The interpfield module is modified to enable interpolation from 3DH1D to 3D, 3DH1D to 3DH1D, and 3D to 3DH1D. This MR also supports interpolation from a halfmode field and supports transforming some fields into sin mode.

This MR also supports inputting a group of history points in box, plane, and line format.

Fixes #26 (closed).

Edited by Ankang Gao

Merge request reports