version 0.6.0
Loading...
Searching...
No Matches
mod_interpolate_vector_cell_to_face Module Reference

Interpolate a vector field from cells to faces.

Functions/Subroutines

subroutine interpolate_vector_cell_to_face_1tensor (field, field_face, order)
 Interpolate at the faces a vector field defined on cells.
 
subroutine interpolate_vector_cell_to_face_1tensor_generic (field, field_face, scheme)
 Interpolate at the faces a scalar field defined on cells.
 

Function/Subroutine Documentation

◆ 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
fieldThe tensor on the cells (nx,ny,nz,dim)
field_faceTensor 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
fieldThe tensor on the cells (nx,ny,nz)
field_faceTensor components on the faces
[in]schemeThe 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).