Gradient operator from cells to each face (full gradient on each face)
|
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)
|
|
subroutine | gradient_operator_cell_to_face_vector_o2 (array, gradient, face_array) |
|
◆ 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] | array | the point quantity on which we want to compute the gradient |
[in,out] | gradient | the resulting gradient face field vector |
[in] | order | the order of spatial precision: 2 or 4 (default=2), enum_discretization_type |
[in] | face_array | the array defined on faces (that may optionnally be known) |