Neko  0.8.1
A portable framework for high-order spectral element flow simulations
local_interpolation::local_interpolator_t Type Reference

Interpolation on a set of points with known rst coordinates in elements local to this process. Similar to point_interpolator, but prioritizes performance Only works with arrays of coordinates Performs interpolation with the configured NEKO_BCKND. More...

Collaboration diagram for local_interpolation::local_interpolator_t:

Public Member Functions

procedure, pass(this) init => local_interpolator_init
 Constructor. More...
 
procedure, pass(this) free => local_interpolator_free
 Destructor. More...
 
procedure, pass(this) evaluate => local_interpolator_evaluate
 Interpolates the scalar field \( X \) on the specified coordinates. More...
 
procedure, pass(this) compute_weights => local_interpolator_compute_weights
 COmputes weights based on rst coordinates. More...
 

Public Attributes

type(space_t), pointer xh => null()
 First space. More...
 
integer n_points
 Number of points to interpolate on. More...
 
real(kind=rp), dimension(:,:), allocatable weights_r
 Weights for local interpolation. More...
 
real(kind=rp), dimension(:,:), allocatable weights_s
 
real(kind=rp), dimension(:,:), allocatable weights_t
 
type(c_ptr) weights_r_d = c_null_ptr
 
type(c_ptr) weights_s_d = c_null_ptr
 
type(c_ptr) weights_t_d = c_null_ptr
 

Detailed Description

Interpolation on a set of points with known rst coordinates in elements local to this process. Similar to point_interpolator, but prioritizes performance Only works with arrays of coordinates Performs interpolation with the configured NEKO_BCKND.

Definition at line 55 of file local_interpolation.f90.

Member Function/Subroutine Documentation

◆ compute_weights()

procedure, pass(this) local_interpolation::local_interpolator_t::compute_weights

COmputes weights based on rst coordinates.

Definition at line 75 of file local_interpolation.f90.

◆ evaluate()

procedure, pass(this) local_interpolation::local_interpolator_t::evaluate

Interpolates the scalar field \( X \) on the specified coordinates.

Definition at line 73 of file local_interpolation.f90.

◆ free()

procedure, pass(this) local_interpolation::local_interpolator_t::free

Destructor.

Definition at line 71 of file local_interpolation.f90.

◆ init()

procedure, pass(this) local_interpolation::local_interpolator_t::init

Constructor.

Definition at line 69 of file local_interpolation.f90.

Member Data Documentation

◆ n_points

integer local_interpolation::local_interpolator_t::n_points

Number of points to interpolate on.

Definition at line 59 of file local_interpolation.f90.

◆ weights_r

real(kind=rp), dimension(:,:), allocatable local_interpolation::local_interpolator_t::weights_r

Weights for local interpolation.

Definition at line 61 of file local_interpolation.f90.

◆ weights_r_d

type(c_ptr) local_interpolation::local_interpolator_t::weights_r_d = c_null_ptr

Definition at line 64 of file local_interpolation.f90.

◆ weights_s

real(kind=rp), dimension(:,:), allocatable local_interpolation::local_interpolator_t::weights_s

Definition at line 62 of file local_interpolation.f90.

◆ weights_s_d

type(c_ptr) local_interpolation::local_interpolator_t::weights_s_d = c_null_ptr

Definition at line 65 of file local_interpolation.f90.

◆ weights_t

real(kind=rp), dimension(:,:), allocatable local_interpolation::local_interpolator_t::weights_t

Definition at line 63 of file local_interpolation.f90.

◆ weights_t_d

type(c_ptr) local_interpolation::local_interpolator_t::weights_t_d = c_null_ptr

Definition at line 66 of file local_interpolation.f90.

◆ xh

type(space_t), pointer local_interpolation::local_interpolator_t::xh => null()

First space.

Definition at line 57 of file local_interpolation.f90.


The documentation for this type was generated from the following file: