|
| double precision function | ext_compute_from_field (scheme, ext_step, x_step_array, y_step_array, z_step_array, field, i, j, k, axis) |
| | Compute the extrapolation via the scheme by giving the associated field, the step arrays for each dimension, the indices (position) and the direction (x,y or z).
|
| |
◆ ext_compute_from_field()
| double precision function mod_extrapolation_computer::ext_rec_compute::ext_compute_from_field |
( |
class(t_ext_scheme), intent(inout) | scheme, |
|
|
double precision, intent(in) | ext_step, |
|
|
double precision, dimension(:), intent(in) | x_step_array, |
|
|
double precision, dimension(:), intent(in) | y_step_array, |
|
|
double precision, dimension(:), intent(in) | z_step_array, |
|
|
double precision, dimension(:,:,:), intent(in) | field, |
|
|
integer, intent(in) | i, |
|
|
integer, intent(in) | j, |
|
|
integer, intent(in) | k, |
|
|
integer, intent(in) | axis ) |
Compute the extrapolation via the scheme by giving the associated field, the step arrays for each dimension, the indices (position) and the direction (x,y or z).
- Parameters
-
| [in] | scheme | the extrapolation scheme |
| [in] | ext_step | the extrapolation step (gap) |
| [in] | x_step_array | the discretization step array in the x direction ; x_step_array(i) is the distance from cell(i) to cell(i-1) |
| [in] | y_step_array | the discretization step array in the y direction |
| [in] | z_step_array | the discretization step array in the z direction |
| [in] | field | the field \(\phi\) to which to apply the scheme at the given indices. |
| [in] | i,j,k | the indices where to compute the FD |
| [in] | axis | the axis (direction) \(axis={1,2,3}\) for \({x,y,z}\) |
- Returns
- the value of the scheme evaluated with the input values
- Warning
- This function is not the most efficient, especialy when used in a
i,j,k loop, because it switches for each direction!
The documentation for this interface was generated from the following file:
- src/lib/discretization/node_level_schemes/extrapolation/computer.f90