BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_domain_neighbour Module Reference

Module that defines the TensorProdNeighbour type, which contains information needed for MPI communication. More...

Data Types

type  tensorprodneighbour
 The tensor product neighbour type. More...
 

Functions/Subroutines

subroutine, public determine_neighbours (neighbours, l0, l1, bsplines, domain, my_actv_bspline, my_resp_bspline, my_resp_intervals)
 Determine the neighbours for exchanging data and for the use of cartesian_to_linear.
 

Detailed Description

Module that defines the TensorProdNeighbour type, which contains information needed for MPI communication.

Function/Subroutine Documentation

◆ determine_neighbours()

subroutine, public m_domain_neighbour::determine_neighbours ( type(tensorprodneighbour), dimension(-max_comm_neighbours_x:max_comm_neighbours_x, -max_comm_neighbours_y:max_comm_neighbours_y, -max_comm_neighbours_z:max_comm_neighbours_z), intent(out) neighbours,
integer, intent(in) l0,
integer, intent(in) l1,
type(bsplinespace), dimension(3), intent(in) bsplines,
type(tensorproddomain), intent(in) domain,
type(tensorprodindices), intent(in) my_actv_bspline,
type(tensorprodindices), intent(in) my_resp_bspline,
type(tensorprodindices), intent(in) my_resp_intervals )

Determine the neighbours for exchanging data and for the use of cartesian_to_linear.

Parameters
[out]neighboursThe neighbours of the current rank, indexed by relative subinterval indices in the x, y, and z directions
[in]l0The global index of the first B-spline in the current rank's responsible B-spline space
[in]l1The global index of the last B-spline in the current rank's responsible B-spline space
[in]bsplinesThe B-spline spaces in the x, y, and z directions
[in]domainThe TensorProdDomain defining the decomposition
[in]my_actv_bsplineThe active B-spline indices for the current rank
[in]my_resp_bsplineThe responsible B-spline indices for the current rank
[in]my_resp_intervalsThe responsible interval indices for the current rank