|
| double precision function | rec_compute_from_field (scheme, step, x_cv_array, y_cv_array, z_cv_array, field, i, j, k, axis) |
| | Compute the reconstruction via the scheme by giving the associated field, the step arrays for each dimension, the indices (position) and the direction (x,y or z).
|
| |
◆ rec_compute_from_field()
| double precision function mod_interpolation_computer::rec_compute::rec_compute_from_field |
( |
class(t_rec_scheme) | scheme, |
|
|
double precision, intent(in) | step, |
|
|
double precision, dimension(:), intent(in) | x_cv_array, |
|
|
double precision, dimension(:), intent(in) | y_cv_array, |
|
|
double precision, dimension(:), intent(in) | z_cv_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 reconstruction 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 reconstruction scheme |
| [in] | step | the distance (from the reference node) where to reconstruct |
| [in] | x_cv_array | the control volume array in the x direction |
| [in] | y_cv_array | the control volume array in the y direction |
| [in] | z_cv_array | the control volume array in the z direction |
| [in] | field | the field \(\phi(i,j,k)\) to which apply the scheme at the given indices. |
| [in] | i,j,k | the indices where to compute the reconstruction |
| [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/interpolation/grid_schemes/computer.f90