Go to the source code of this file.
◆ cs_interpolate_from_location_t
Function pointer for interpolatation of values defined on a mesh location at a given set of points.
- Parameters
-
[in,out] | input | pointer to optional (untyped) value or structure. |
[in] | datatype | associated datatype |
[in] | val_dim | dimension of data values |
[in] | n_points | number of interpolation points |
[in] | point_location | location of points in mesh elements |
[in] | point_coords | point coordinates |
[in] | location_vals | values at mesh location |
[out] | point_vals | interpolated values at points |
◆ cs_interpolate_from_location_p0()
void cs_interpolate_from_location_p0 |
( |
void * |
input, |
|
|
cs_datatype_t |
datatype, |
|
|
int |
val_dim, |
|
|
cs_lnum_t |
n_points, |
|
|
const cs_lnum_t |
point_location[], |
|
|
const cs_real_3_t |
point_coords[], |
|
|
const void * |
location_vals, |
|
|
void * |
point_vals |
|
) |
| |
Interpolate values defined on a mesh location at a given set of points using a P0 interpolation.
This function allows unlocated points (with point_location < 0), to which the value 0 is assigned.
- Parameters
-
[in,out] | input | pointer to optional (untyped) value or structure. |
[in] | datatype | associated datatype |
[in] | val_dim | dimension of data values |
[in] | n_points | number of interpolation points |
[in] | point_location | location of points in mesh elements |
[in] | point_coords | point coordinates |
[in] | location_vals | values at mesh location |
[out] | point_vals | interpolated values at points |
(DOXYGEN_SHOULD_SKIP_THIS)
This function allows unlocated points (with point_location < 0), to which the value 0 is assigned.
- Parameters
-
[in,out] | input | pointer to optional (untyped) value or structure. |
[in] | datatype | associated datatype |
[in] | val_dim | dimension of data values |
[in] | n_points | number of interpolation points |
[in] | point_location | location of points in mesh elements |
[in] | point_coords | point coordinates |
[in] | location_vals | values at mesh location |
[out] | point_vals | interpolated values at points |