Interpolate scalar from cells to vertices. More...
Functions/Subroutines | |
subroutine | interpolate_scalar_cell_to_vertices (field_cell, field_vertices, order) |
Interpolate at the cell's vertices the field stored at cell centers. | |
subroutine | interpolate_scalar_cell_to_vertices_generic (field_cell, field_vertices, scheme) |
Interpolate at the cell's vertices the field stored at cell centers IMPORTANT: the field needs to be known one cell outside the boundary (see extrapolation) field_vertices is of size (NX+1)x(NY+1)x(NZ+1) with null values on the boundaries. | |
Interpolate scalar from cells to vertices.
subroutine mod_interpolate_scalar_cell_to_vertices::interpolate_scalar_cell_to_vertices | ( | double precision, dimension(:,:,:), intent(in) | field_cell, |
double precision, dimension(:,:,:), intent(inout) | field_vertices, | ||
integer, intent(in), optional | order ) |
Interpolate at the cell's vertices the field stored at cell centers.
[in] | field_cell | The input field |
[in,out] | field_vertices | The resulting field |
[in] | order | (optional) The order of interpolation: space_order_2 (default) or space_order_4 |
subroutine mod_interpolate_scalar_cell_to_vertices::interpolate_scalar_cell_to_vertices_generic | ( | double precision, dimension(:,:,:), intent(in) | field_cell, |
double precision, dimension(:,:,:), intent(inout) | field_vertices, | ||
class(t_int_scheme), intent(in) | scheme ) |
Interpolate at the cell's vertices the field stored at cell centers IMPORTANT: the field needs to be known one cell outside the boundary (see extrapolation) field_vertices is of size (NX+1)x(NY+1)x(NZ+1) with null values on the boundaries.
field_cell | The input field | |
field_vertices | The resulting field | |
[in] | scheme | The interpolation scheme |