Neko 1.99.1
A portable framework for high-order spectral element flow simulations
|
Type to compute local element (rst) coordinates for a gives set points in physical (xyz) space on a SEM grid. More...
Public Member Functions | |
procedure, pass(this) | init (this, x, y, z, nelv, xh, tol, max_iter) |
procedure, pass(this) | free (this) |
procedure, pass(this) | find (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_t) | x_hat |
type(vector_t) | y_hat |
type(vector_t) | z_hat |
type(space_t), pointer | xh => Null() |
integer | nelv = 0 |
real(kind=rp) | tol = NEKO_EPS |
integer | max_iter = 10 |
Definition at line 56 of file legendre_rst_finder.f90.
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 | ||
) |
this | An instance of the legendre_rst_finder_t class. |
rst_local_cand | A matrix to store the local RST coordinates of the candidate points. |
x_t | A vector containing the x-coordinates of the target points. |
y_t | A vector containing the y-coordinates of the target points. |
z_t | A vector containing the z-coordinates of the target points. |
el_cands | An array with the indices of the candidate elements. |
n_point_cand | The number of candidate points to process. |
resx | A vector to store the residuals in the x-direction. |
resy | A vector to store the residuals in the y-direction. |
resz | A vector to store the residuals in the z-direction. |
Definition at line 65 of file legendre_rst_finder.f90.
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.
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.
integer legendre_rst_finder::legendre_rst_finder_t::max_iter = 10 |
Definition at line 61 of file legendre_rst_finder.f90.
integer legendre_rst_finder::legendre_rst_finder_t::nelv = 0 |
Definition at line 59 of file legendre_rst_finder.f90.
Definition at line 60 of file legendre_rst_finder.f90.
type(vector_t) legendre_rst_finder::legendre_rst_finder_t::x_hat |
Definition at line 57 of file legendre_rst_finder.f90.
Definition at line 58 of file legendre_rst_finder.f90.
type(vector_t) legendre_rst_finder::legendre_rst_finder_t::y_hat |
Definition at line 57 of file legendre_rst_finder.f90.
type(vector_t) legendre_rst_finder::legendre_rst_finder_t::z_hat |
Definition at line 57 of file legendre_rst_finder.f90.