Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
cartesian_pe_finder Module Reference

Implements cartesian_pe_finder given a dofmap.

Data Types

type  cartesian_pe_finder_t
 Implements global interpolation for arbitrary points in the domain. More...
 
type  i8_mpi_t
 

Functions/Subroutines

subroutine cartesian_pe_finder_init (this, x, y, z, nelv, xh, comm, n_boxes, padding)
 Initialize the global interpolation object on a set of coordinates.
 
subroutine cartesian_pe_finder_find (this, my_point, pe_candidates)
 
integer(kind=i8) function, dimension(3) get_global_idx (this, x, y, z)
 
integer function get_pe_idx (this, global_idx)
 
subroutine cartesian_pe_finder_free (this)
 Destructor.
 
subroutine cartesian_pe_finder_find_batch (this, points, n_points, points_at_pe, n_points_pe)
 
subroutine send_recv_data (this, recv_values, n_recv_values, send_values, n_send_values)
 

Variables

integer, parameter, public glob_map_size = 4096
 Minimum number of total boxes in the aabb tree.
 

Function/Subroutine Documentation

◆ cartesian_pe_finder_find()

subroutine cartesian_pe_finder::cartesian_pe_finder_find ( class(cartesian_pe_finder_t), intent(inout this,
type(point_t), intent(in my_point,
type(stack_i4_t), intent(inout pe_candidates 
)
private

Definition at line 390 of file cartesian_pe_finder.f90.

◆ cartesian_pe_finder_find_batch()

subroutine cartesian_pe_finder::cartesian_pe_finder_find_batch ( class(cartesian_pe_finder_t), intent(inout this,
real(kind=rp), dimension(3,n_points), intent(in points,
integer, intent(in n_points,
type(stack_i4_t), dimension(0:(this%pe_size-1)), intent(inout points_at_pe,
integer, dimension(0:(this%pe_size-1)), intent(inout n_points_pe 
)
private

Definition at line 452 of file cartesian_pe_finder.f90.

Here is the call graph for this function:

◆ cartesian_pe_finder_free()

subroutine cartesian_pe_finder::cartesian_pe_finder_free ( class(cartesian_pe_finder_t), intent(inout this)
private

Definition at line 423 of file cartesian_pe_finder.f90.

◆ cartesian_pe_finder_init()

subroutine cartesian_pe_finder::cartesian_pe_finder_init ( class(cartesian_pe_finder_t), intent(inout this,
real(kind=rp), dimension(:), intent(in), target  x,
real(kind=rp), dimension(:), intent(in), target  y,
real(kind=rp), dimension(:), intent(in), target  z,
integer, intent(in nelv,
type(space_t), intent(in), target  xh,
type(mpi_comm), intent(in), optional  comm,
integer, intent(in n_boxes,
real(kind=dp), intent(in padding 
)
Parameters
xx-coordinates.
yy-coordinates.
zz-coordinates.
gdimGeometric dimension.
nelvNumber of elements of the mesh in which to search for the points.
XhSpace on which to interpolate.
tolTolerance for Newton iterations.

Definition at line 113 of file cartesian_pe_finder.f90.

Here is the call graph for this function:

◆ get_global_idx()

integer(kind=i8) function, dimension(3) cartesian_pe_finder::get_global_idx ( class(cartesian_pe_finder_t), intent(in this,
real(kind=rp), intent(in x,
real(kind=rp), intent(in y,
real(kind=rp), intent(in z 
)
private

Definition at line 398 of file cartesian_pe_finder.f90.

Here is the caller graph for this function:

◆ get_pe_idx()

integer function cartesian_pe_finder::get_pe_idx ( class(cartesian_pe_finder_t), intent(in this,
integer(kind=i8), intent(in global_idx 
)
private

Definition at line 413 of file cartesian_pe_finder.f90.

Here is the caller graph for this function:

◆ send_recv_data()

subroutine cartesian_pe_finder::send_recv_data ( class(cartesian_pe_finder_t), intent(inout this,
type(stack_i8_t), dimension(0:this%pe_size-1), intent(inout recv_values,
integer, dimension(0:this%pe_size-1), intent(inout n_recv_values,
type(stack_i8_t), dimension(0:this%pe_size-1), intent(inout send_values,
integer, dimension(0:this%pe_size-1), intent(inout n_send_values 
)
private

Definition at line 609 of file cartesian_pe_finder.f90.

Here is the caller graph for this function:

Variable Documentation

◆ glob_map_size

integer, parameter, public cartesian_pe_finder::glob_map_size = 4096

Definition at line 56 of file cartesian_pe_finder.f90.