Extrapolate faces to a whole plane.
|
subroutine | extrapolate_faces_to_plane (field, scheme, ext_step, axis, index, destination) |
| Extrapolation of a field (defined on faces) to a destination discrete plane. The reference faces are given by the index ; the extrapolation is done along the axis at a distance of ext_step .
|
|
◆ extrapolate_faces_to_plane()
subroutine mod_extrapolate_faces_to_plane::extrapolate_faces_to_plane |
( |
double precision, dimension(:,:,:), intent(inout) | field, |
|
|
class(t_ext_scheme), intent(inout) | scheme, |
|
|
double precision, intent(in) | ext_step, |
|
|
integer, intent(in) | axis, |
|
|
integer, intent(in) | index, |
|
|
double precision, dimension(:,:), intent(out) | destination ) |
- Example
- Extrapolate the field
temperature
along the \(y\) plan in the positive direction starting from the je
forwardly (hence, to je+1
) at a distance of 0.12d0
with the third order scheme: call extrapolate_faces_to_plane( temperature, ext_scheme_o3_forward_instance, 0.12d0, 2, je, result )
where result
is a double precision, dimension(:,:)
coherently allocated.
- Parameters
-
[in,out] | field | the array where to extrapolate and where the data is taken from |
[in,out] | scheme | the extrepolation scheme |
- See also
- type_ext_scheme , forward or backward
- Parameters
-
[in] | ext_step | the distance to which extrapolate (distance to the index faces) |
[in] | axis | \({1,2,3}\) is the axis \(x\), \(y\) or \(z\) along which to extrapolate |
[in] | index | the index from which to extrapolate (ie. the scheme starts at index ) |
[out] | destination | the resulting discrete plane |