version 0.6.0
mod_interpolate_scalar_cell_to_face Module Reference

Interpolate scalar from cells to faces.

Functions/Subroutines

subroutine interpolate_scalar_cell_to_face_1tensor (field, field_face, order)
 Interpolate at the faces a scalar field defined on cells. More...
 
subroutine interpolate_scalar_cell_to_face_1tensor_generic (field, field_face, scheme)
 Interpolate at the faces a scalar field defined on cells. More...
 
subroutine interpolate_scalar_cell_to_face_1tensor_o2_optimized (field, field_face)
 

Function/Subroutine Documentation

◆ 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]fieldThe tensor on the cells
[in,out]field_faceThe 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]fieldThe tensor on the cells
[in,out]field_faceThe resulting face field
[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).