recolo.artificial_grid_deformation.coordinate_solver.interpolated_disp_field

recolo.artificial_grid_deformation.coordinate_solver.interpolated_disp_field(u_x, u_y, dx, dy, order=3, mode='nearest')

Interpolate the displacement fields given by u_x and u_y by means of B-splines Parameters ———- u_x : ndarray

The displacement field values along the x-axis

u_yndarray

The displacement field values along the y-axis

dxfloat

Step size along the x-axis

dyfloat

Step size along the y-axis

orderint

Interpolation order

modestring

Interpolation mode.

disp_func: func

The B-spline interpolators for u_x and u_y