Global interpolation functions.
Get cells that potentially contain points with the given physical coordinates.
Parameters: | coors : array
cmesh : CMesh instance
centroids : array, optional
extrapolate : bool
|
---|---|
Returns: | potential_cells : array
offsets : array
|
Get reference element coordinates and elements corresponding to given physical coordinates.
Parameters: | field : Field instance
coors : array
strategy : {‘general’, ‘convex’}, optional
close_limit : float, optional
get_cells_fun : callable, optional
cache : Struct, optional
verbose : bool
|
---|---|
Returns: | ref_coors : array
cells : array
status : array
|
Get reference element coordinates and elements corresponding to given physical coordinates.
Parameters: | field : Field instance
coors : array
close_limit : float, optional
cache : Struct, optional
verbose : bool
|
---|---|
Returns: | ref_coors : array
cells : array
status : array
|
Notes
Outline of the algorithm for finding xi such that X(xi) = P:
Get reference element coordinates and elements corresponding to given physical coordinates.
Parameters: | field : Field instance
coors : array
close_limit : float, optional
get_cells_fun : callable, optional
cache : Struct, optional
verbose : bool
|
---|---|
Returns: | ref_coors : array
cells : array
status : array
|