Extrapolate faces to faces.
|
subroutine | extrapolate_faces_to_faces (field, scheme, axis, index) |
| Extrapolation of a field (defined on faces) to neighbour (planar) faces. The reference faces are given by the index ; the extrapolation is done along the axis . The destination (resulting/modified) faces' index are given by index+schemedir (the latter being -1 or +1 depending on the scheme).
|
|
◆ extrapolate_faces_to_faces()
subroutine mod_extrapolate_faces_to_faces::extrapolate_faces_to_faces |
( |
double precision, dimension(:,:,:), intent(inout) | field, |
|
|
class(t_ext_scheme), intent(inout) | scheme, |
|
|
integer, intent(in) | axis, |
|
|
integer, intent(in) | index ) |
- Example
- Extrapolate the field
temperature
along the \(y\) plan in the positive direction starting from the je
forwardly (hence, to je+1
) with the third order scheme: call extrapolate_faces_to_faces( temperature, ext_scheme_o3_forward_instance, 2, je )
- 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] | 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 ) |
- Todo
- MCO evaluate the efficiency of the use of field(:,index+schemedir,:)