version 0.6.0
Loading...
Searching...
No Matches
mod_extrapolate_faces_to_faces Module Reference

Extrapolate faces to faces.

Functions/Subroutines

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

Function/Subroutine Documentation

◆ 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]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]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)
Todo
MCO evaluate the efficiency of the use of field(:,index+schemedir,:)