Interpolate a vector field from cells to faces.
◆ interpolate_vector_cell_to_face_1tensor()
subroutine mod_interpolate_vector_cell_to_face::interpolate_vector_cell_to_face_1tensor |
( |
double precision, dimension(:,:,:,:), intent(in) | field, |
|
|
type(t_face_field), intent(inout) | field_face, |
|
|
integer, intent(in), optional | order ) |
- Parameters
-
| field | The tensor on the cells (nx,ny,nz,dim) |
| field_face | Tensor components on the faces |
[in] | order | *(optional)* The order of interpolation: space_order_2 (default) or space_order_4 |
◆ interpolate_vector_cell_to_face_1tensor_generic()
subroutine mod_interpolate_vector_cell_to_face::interpolate_vector_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
-
| field | The tensor on the cells (nx,ny,nz) |
| field_face | Tensor components on the faces |
[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).