Interpolate scalar from cells to faces.
◆ interpolate_scalar_cell_to_face_1tensor()
subroutine mod_interpolate_scalar_cell_to_face::interpolate_scalar_cell_to_face_1tensor |
( |
double precision, dimension(:,:,:), intent(in) | field, |
|
|
type(t_face_field), intent(inout) | field_face, |
|
|
integer, intent(in), optional | order ) |
- Parameters
-
[in] | field | The tensor on the cells |
[in,out] | field_face | The resulting face field |
[in] | order | *(optional)* The order of interpolation: space_order_2 (default) or space_order_4 |
◆ interpolate_scalar_cell_to_face_1tensor_generic()
subroutine mod_interpolate_scalar_cell_to_face::interpolate_scalar_cell_to_face_1tensor_generic |
( |
double precision, dimension(:,:,:), intent(in) | field, |
|
|
type(t_face_field), intent(inout) | field_face, |
|
|
class(t_int_scheme), intent(in) | scheme ) |
- Parameters
-
[in] | field | The tensor on the cells |
[in,out] | field_face | The resulting face field |
[in] | scheme | The interpolation scheme |
- Warning
- The results are stored on faces and are computed at indices such that the scheme can be used \(\Rightarrow\) make sure to have enough ghost nodes relatively to the scheme's boundaries.
- Note
- To compute the result at face U(i,j,k), the scheme is applied starting from cell (i-1,j,k).