version 0.6.0
mod_gradient_operator_cell_to_face_vector Module Reference

Gradient operator from cells to each face (full gradient on each face)

Functions/Subroutines

subroutine gradient_operator_cell_to_face_vector (array, gradient, order, face_array)
 Gradient function, from cell defined field to face (full gradient on each face) More...
 
subroutine gradient_operator_cell_to_face_vector_o2 (array, gradient, face_array)
 

Function/Subroutine Documentation

◆ gradient_operator_cell_to_face_vector()

subroutine mod_gradient_operator_cell_to_face_vector::gradient_operator_cell_to_face_vector ( double precision, dimension(:,:,:), intent(in)  array,
type(t_face_field_extended), intent(inout)  gradient,
integer, intent(in), optional  order,
type(t_face_field), intent(inout), optional  face_array 
)

The array is first interpolated on faces (if optionnal argument is not present), then on edges. Gradient is computed from cells/edges to faces thanks to centered difference method.

Parameters
[in]arraythe point quantity on which we want to compute the gradient
[in,out]gradientthe resulting gradient face field vector
[in]orderthe order of spatial precision: 2 or 4 (default=2), enum_discretization_type
[in]face_arraythe array defined on faces (that may optionnally be known)