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. More...
Functions/Subroutines | |
subroutine | extrapolate_cells_to_faces_neumann_generic (field, scheme, axis, index, neumann_value, extrapolated_value) |
Extrapolate the field defined on cells to the previous/next faces with a the Neumann conditions known at the destination faces. | |
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.
subroutine mod_extrapolate_cells_to_faces_neumann::extrapolate_cells_to_faces_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 ) |
Extrapolate the field defined on cells to the previous/next faces with a the Neumann conditions known at the destination faces.
[in] | field | The input field on (nx,ny,nz) |
[in,out] | scheme | The scheme that you want to use |
[in] | axis | \({1,2,3}\) is the axis \(x\), \(y\) or \(z\) along which to extrapolate |
[in] | index | The starting/ending index of the cells |
[in] | neumann_value | The input Neumann boundary values (spatial_dimension-1) field of type type_bc_value, where the Neumann condition is imposed on the face |
[out] | extrapolated_value | The resulting extrapolated values |