Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
legendre_rst_finder::legendre_rst_finder_t Type Reference

Type to compute local element (rst) coordinates for a gives set points in physical (xyz) space on a SEM grid. More...

Collaboration diagram for legendre_rst_finder::legendre_rst_finder_t:

Public Member Functions

procedure, pass(thisinit (this, x, y, z, nelv, xh, tol, max_iter)
 
procedure, pass(thisfree (this)
 
procedure, pass(thisfind (this, rst_local_cand, x_t, y_t, z_t, el_cands, n_point_cand, resx, resy, resz)
 Given a set of element candidates containing the given points and computes the local RST coordinates for those points. This subroutine supports both CPU and device (GPU) execution, depending on the configugered backend of NEKO_BCKND_DEVICE.
 

Public Attributes

type(vector_tx_hat
 
type(vector_ty_hat
 
type(vector_tz_hat
 
type(space_t), pointer xh => Null()
 
integer nelv = 0
 
real(kind=rp) tol = NEKO_EPS
 
integer max_iter = 10
 

Detailed Description

Definition at line 56 of file legendre_rst_finder.f90.

Member Function/Subroutine Documentation

◆ find()

procedure, pass(this) legendre_rst_finder::legendre_rst_finder_t::find ( class(legendre_rst_finder_t), intent(inout this,
type(matrix_t), intent(inout rst_local_cand,
type(vector_t), intent(in x_t,
type(vector_t), intent(in y_t,
type(vector_t), intent(in z_t,
integer, dimension(:), intent(inout el_cands,
integer, intent(in n_point_cand,
type(vector_t), intent(inout resx,
type(vector_t), intent(inout resy,
type(vector_t), intent(inout resz 
)
Parameters
thisAn instance of the legendre_rst_finder_t class.
rst_local_candA matrix to store the local RST coordinates of the candidate points.
x_tA vector containing the x-coordinates of the target points.
y_tA vector containing the y-coordinates of the target points.
z_tA vector containing the z-coordinates of the target points.
el_candsAn array with the indices of the candidate elements.
n_point_candThe number of candidate points to process.
resxA vector to store the residuals in the x-direction.
resyA vector to store the residuals in the y-direction.
reszA vector to store the residuals in the z-direction.

Definition at line 65 of file legendre_rst_finder.f90.

◆ free()

procedure, pass(this) legendre_rst_finder::legendre_rst_finder_t::free ( class(legendre_rst_finder_t), intent(inout this)

Definition at line 64 of file legendre_rst_finder.f90.

◆ init()

procedure, pass(this) legendre_rst_finder::legendre_rst_finder_t::init ( class(legendre_rst_finder_t), intent(inout this,
real(kind=rp), dimension(nelv*xh%lxyz), intent(in x,
real(kind=rp), dimension(nelv*xh%lxyz), intent(in y,
real(kind=rp), dimension(nelv*xh%lxyz), intent(in z,
integer, intent(in nelv,
type(space_t), intent(in), target  xh,
real(kind=rp), intent(in), optional  tol,
integer, intent(in), optional  max_iter 
)

Definition at line 63 of file legendre_rst_finder.f90.

Member Data Documentation

◆ max_iter

integer legendre_rst_finder::legendre_rst_finder_t::max_iter = 10

Definition at line 61 of file legendre_rst_finder.f90.

◆ nelv

integer legendre_rst_finder::legendre_rst_finder_t::nelv = 0

Definition at line 59 of file legendre_rst_finder.f90.

◆ tol

real(kind=rp) legendre_rst_finder::legendre_rst_finder_t::tol = NEKO_EPS

Definition at line 60 of file legendre_rst_finder.f90.

◆ x_hat

type(vector_t) legendre_rst_finder::legendre_rst_finder_t::x_hat

Definition at line 57 of file legendre_rst_finder.f90.

◆ xh

type(space_t), pointer legendre_rst_finder::legendre_rst_finder_t::xh => Null()

Definition at line 58 of file legendre_rst_finder.f90.

◆ y_hat

type(vector_t) legendre_rst_finder::legendre_rst_finder_t::y_hat

Definition at line 57 of file legendre_rst_finder.f90.

◆ z_hat

type(vector_t) legendre_rst_finder::legendre_rst_finder_t::z_hat

Definition at line 57 of file legendre_rst_finder.f90.


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