Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType > Class Template Reference
Specialization of the search algorithm that is used for the swept face remap of fields associated with cells. More...
#include <search_swept_face.h>
Public Member Functions | |
SearchSweptFace ()=delete | |
Default constructor (disabled) More... | |
SearchSweptFace (const SourceMeshType &source_mesh, const TargetMeshType &target_mesh) | |
Builds the search structure for the swept face algorithm. More... | |
SearchSweptFace & | operator= (const SearchSweptFace &)=delete |
Assignment operator (disabled) More... | |
~SearchSweptFace ()=default | |
Destructor. More... | |
std::vector< int > | operator() (const int entityId) const |
Find the source mesh cells that are adjacent to the given target cell through the faces. Topology and indexing of the source and target meshes are assumed to be identical. More... | |
Detailed Description
template<int D, typename SourceMeshType, typename TargetMeshType>
class Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType >
Specialization of the search algorithm that is used for the swept face remap of fields associated with cells.
- Template Parameters
-
D The dimension of the problem space. SourceMeshType The mesh type of the input mesh. TargetMeshType The mesh type of the output mesh.
Constructor & Destructor Documentation
◆ SearchSweptFace() [1/2]
template<int D, typename SourceMeshType , typename TargetMeshType >
|
delete |
Default constructor (disabled)
◆ SearchSweptFace() [2/2]
template<int D, typename SourceMeshType , typename TargetMeshType >
|
inline |
Builds the search structure for the swept face algorithm.
- Parameters
-
[in] source_mesh_wrapper Pointer to a mesh wrapper for getting the source mesh info. [in] target_mesh_wrapper Pointer to a mesh wrapper for getting the target mesh info.
Constructor for the search structure that finds cells that are neighbors through the faces. Topology and indexing of the source and target meshes are assumed to be identical.
◆ ~SearchSweptFace()
template<int D, typename SourceMeshType , typename TargetMeshType >
|
default |
Destructor.
Member Function Documentation
◆ operator()()
template<int D, typename SourceMeshType , typename TargetMeshType >
|
inline |
Find the source mesh cells that are adjacent to the given target cell through the faces. Topology and indexing of the source and target meshes are assumed to be identical.
- Parameters
-
[in] entityId The index of the entity in the target mesh for which we wish to find the candidate overlapping entities in the source mesh.
- Returns
- Vector of potential candidate entities in the source mesh.
◆ operator=()
template<int D, typename SourceMeshType , typename TargetMeshType >
|
delete |
Assignment operator (disabled)
The documentation for this class was generated from the following file:
- /home/portage/portage/portage/search/search_swept_face.h