Extrapolate from a field known on cells (i,j,k) towards a point with a given neumann condition (ie. the derivative of the function at the destination point).
More...
|
double precision function | extrapolate_cell_to_point_neumann (field, scheme, ext_step, i, j, k, axis, derivative_value) |
| Extrapolate from the cell (i,j,k) the field along the axis with a constraining Neumann condition. Hence, the result derivative is given at the 0th point of the scheme.
|
|
◆ extrapolate_cell_to_point_neumann()
double precision function mod_extrapolate_cell_to_point_neumann::extrapolate_cell_to_point_neumann |
( |
double precision, dimension(:,:,:), intent(in) | field, |
|
|
class(t_ext_neumann_scheme), intent(inout) | scheme, |
|
|
double precision, intent(in) | ext_step, |
|
|
integer, intent(in) | i, |
|
|
integer, intent(in) | j, |
|
|
integer, intent(in) | k, |
|
|
integer, intent(in) | axis, |
|
|
double precision, intent(in) | derivative_value ) |
- See also
- Extrapolation for more details on how it is working.
- Parameters
-
| field | The field defined on the cells |
[in,out] | scheme | the finite difference scheme (forward or backward) |
[in] | ext_step | the distance to which extrapolate |
[in] | i,j,k | The index of the cell |
[in] | axis | The axis (direction) {1,2,3} for {u,v,w} |
[in] | derivative_value | The value of the derivative at the extrapolation point |
- Returns
- The extrapolation of field from the cell i,j,k along the given axis to the point indicated by its distance to the cell with the given Neumann condition.