This class takes in a bunch of points and finds the cell (provided as input) it lies in. In case the points dont lie in any of the cells, it sends the points to other processors. Similarly it receives points from other processors and then checks if any of them lies within its cell. It provides the real coordinates of points in each cell.
More...
#include <MapPointsToCells.h>
|
| MapPointsToCells (const unsigned int verbosity, const MPI_Comm &mpiComm) |
|
void | init (std::vector< std::shared_ptr< const Cell< dim > > > srcCells, const std::vector< std::vector< double > > &targetPts, std::vector< std::vector< double > > &mapCellsToRealCoordinates, std::vector< std::vector< size_type > > &mapCellLocalToProcLocal, std::pair< global_size_type, global_size_type > &locallyOwnedRange, std::vector< global_size_type > &ghostGlobalIds, const double paramCoordsTol) |
| The init().
|
|
This class takes in a bunch of points and finds the cell (provided as input) it lies in. In case the points dont lie in any of the cells, it sends the points to other processors. Similarly it receives points from other processors and then checks if any of them lies within its cell. It provides the real coordinates of points in each cell.
- Author
- Vishal Subramanian, Bikash Kanungo
◆ MapPointsToCells()
◆ init()
The init().
- Parameters
-
[in] | srcCells | The cells assigned to this processor |
[in] | targetPts | The points assigned to this processor |
[out] | mapCellsToRealCoordinates | The Real coordinates of the points found in each cell. |
[in] | locallyOwnedRange | The locally owned range for the target points |
[out] | ghostGlobalIds | The global Ids of the points assigned to other processors but found within the cells assigned to this processor. |
[in] | paramCoordsTol | Tol used to determine if the point is inside a cell |
- Author
- Vishal Subramanian, Bikash Kanungo
◆ d_mpiComm
◆ d_numMPIRank
◆ d_thisRank
◆ d_verbosity
The documentation for this class was generated from the following file: