def __init__(self, f_values, x_values, y_values):
    '\n        Constructor for 2D curvilinear interpolation for a function f(x,y)\n\n        Parameters\n        ----------\n        f_values: numpy.array\n            A 2D array of function values such that f_values[i,j] =\n            f(x_values[i,j],y_values[i,j]).\n        x_values: numpy.array\n            A 2D array of x values of the same size as f_values.\n        y_values: numpy.array\n            A 2D array of y values of the same size as f_values.\n\n        Returns\n        -------\n        new instance of Curvilinear2DInterp\n        '
    self.f_values = f_values
    self.x_values = x_values
    self.y_values = y_values
    my_shape = f_values.shape
    self.x_n = my_shape[0]
    self.y_n = my_shape[1]
    self.updatePolarity()
Constructor for 2D curvilinear interpolation for a function f(x,y)

Parameters
----------
f_values: numpy.array
    A 2D array of function values such that f_values[i,j] =
    f(x_values[i,j],y_values[i,j]).
x_values: numpy.array
    A 2D array of x values of the same size as f_values.
y_values: numpy.array
    A 2D array of y values of the same size as f_values.

Returns
-------
new instance of Curvilinear2DInterp
def __init__(self, f_values, x_values, y_values):
    '\n        Constructor for 2D curvilinear interpolation for a function f(x,y)\n\n        Parameters\n        ----------\n        f_values: numpy.array\n            A 2D array of function values such that f_values[i,j] =\n            f(x_values[i,j],y_values[i,j]).\n        x_values: numpy.array\n            A 2D array of x values of the same size as f_values.\n        y_values: numpy.array\n            A 2D array of y values of the same size as f_values.\n\n        Returns\n        -------\n        new instance of Curvilinear2DInterp\n        '
    self.f_values = f_values
    self.x_values = x_values
    self.y_values = y_values
    my_shape = f_values.shape
    self.x_n = my_shape[0]
    self.y_n = my_shape[1]
    self.updatePolarity()