version 0.6.0
mod_extrapolate_faces_to_plane Module Reference

Extrapolate faces to a whole plane.

Functions/Subroutines

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. More...
 

Function/Subroutine Documentation

◆ 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]fieldthe array where to extrapolate and where the data is taken from
[in,out]schemethe extrepolation scheme
See also
type_ext_scheme , forward or backward
Parameters
[in]ext_stepthe 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]indexthe index from which to extrapolate (ie. the scheme starts at index)
[out]destinationthe resulting discrete plane