version 0.6.0
mod_extrapolate_cells_to_cells_neumann Module Reference

Extrapolate the field defined on cells onto faces. This is used whenever you need to compute what would be the Dirichlet boundary value associated to the Neumann condition, given a field inside the domain. Order 2 version.

Functions/Subroutines

subroutine extrapolate_cells_to_cells_neumann_generic (field, scheme, axis, index, neumann_value, extrapolated_value)
 Extrapolate the field defined on cells to the previous/next cells with a the Neumann conditions known at the destination cells. More...
 

Function/Subroutine Documentation

◆ extrapolate_cells_to_cells_neumann_generic()

subroutine mod_extrapolate_cells_to_cells_neumann::extrapolate_cells_to_cells_neumann_generic ( double precision, dimension(:,:,:), intent(in)  field,
class(t_ext_neumann_scheme), intent(inout)  scheme,
integer, intent(in)  axis,
integer, intent(in)  index,
double precision, dimension(:,:), intent(in)  neumann_value,
double precision, dimension(:,:), intent(out)  extrapolated_value 
)
Parameters
[in]fieldThe input field on (nx,ny,nz)
[in,out]schemeThe scheme that you want to use
[in]axis\({1,2,3}\) is the axis \(x\), \(y\) or \(z\) along which to extrapolate
[in]indexThe starting/ending index of the cells
[in]neumann_valueThe input Neumann boundary values (spatial_dimension-1) field of type type_bc_value, where the Neumann condition is imposed on the face
[out]extrapolated_valueThe resulting extrapolated values