Implements cartesian_pe_finder given a dofmap.
|
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) |
|
◆ cartesian_pe_finder_find()
◆ 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 |
◆ cartesian_pe_finder_free()
◆ 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
-
x | x-coordinates. |
y | y-coordinates. |
z | z-coordinates. |
gdim | Geometric dimension. |
nelv | Number of elements of the mesh in which to search for the points. |
Xh | Space on which to interpolate. |
tol | Tolerance for Newton iterations. |
Definition at line 113 of file cartesian_pe_finder.f90.
◆ get_global_idx()
◆ get_pe_idx()
◆ 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 |
◆ glob_map_size