Skip to content

Commit a18729e

Browse files
committed
trilinear
1 parent 0f5c603 commit a18729e

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

source/3_numerical.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,39 @@ In our computation, the up symbol side is applied, in other words, ``±`` repres
146146
Velocity Interpolation
147147
~~~~~~~~~~~~~~~~~~~~~~~
148148

149+
**Trilinear**
150+
151+
The ``trilinear`` interpolation method is the fastest among all the methods given in ``PyFTLE3D``, which is a low-order implement.
152+
The continuous velocity field is reconstructed by trilinear interpolation of the component maps ``u``, ``v``, ``w`` that live on the eight vertices of a Cartesian cell:
153+
154+
.. math::
155+
156+
i = \left\lfloor\frac{x-x_0}{\Delta x}\right\rfloor,\;
157+
j = \left\lfloor\frac{y-y_0}{\Delta y}\right\rfloor,\;
158+
k = \left\lfloor\frac{z-z_0}{\Delta z}\right\rfloor,\\
159+
\tau_x = \frac{x-x_0}{\Delta x}-i,\;
160+
\tau_y = \frac{y-y_0}{\Delta y}-j,\;
161+
\tau_z = \frac{z-z_0}{\Delta z}-k.
162+
163+
.. math::
164+
165+
\mathbf{u}(x,y,z)=
166+
\sum_{d_x,d_y,d_z\in\{0,1\}}
167+
(1-d_x+(-1)^{d_x}\tau_x)\,
168+
(1-d_y+(-1)^{d_y}\tau_y)\,
169+
(1-d_z+(-1)^{d_z}\tau_z)\,
170+
\mathbf{u}_{\,i+d_x,\,j+d_y,\,k+d_z}.
171+
172+
173+
174+
175+
**Tricubic**
176+
177+
**Hermite**
178+
179+
The ``hermite``
180+
181+
149182
.. _wall:
150183

151184
Wall Treatment

source/_static/images/logo-raw.png

1.26 MB
Loading

source/_static/images/logo.png

-44.4 KB
Loading

0 commit comments

Comments
 (0)