Specialization of the search algorithm that is used for the swept face remap of fields associatred with nodal control volumes.
More...
#include <search_swept_face.h>
template<int D, typename SourceMeshType, typename TargetMeshType>
class Portage::SearchSweptFace< D, Entity_kind::NODE, SourceMeshType, TargetMeshType >
Specialization of the search algorithm that is used for the swept face remap of fields associatred with nodal control volumes.
- 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. |
◆ SearchSweptFace() [1/2]
template<int D, typename SourceMeshType , typename TargetMeshType >
Default constructor (disabled)
◆ SearchSweptFace() [2/2]
template<int D, typename SourceMeshType , typename TargetMeshType >
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 source mesh nodes for which their control volumes are adjacent to the control volume of the target node. Topology and indexing of the source and target meshes are assumed to be identical.
◆ ~SearchSweptFace()
template<int D, typename SourceMeshType , typename TargetMeshType >
◆ operator()()
template<int D, typename SourceMeshType , typename TargetMeshType >
std::vector<int> Portage::SearchSweptFace< D, Entity_kind::NODE, SourceMeshType, TargetMeshType >::operator() |
( |
const int |
entityId | ) |
const |
|
inline |
Find the source mesh nodes for which their control volumes are adjacent to the control volume of the given target node. 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 >
Assignment operator (disabled)
The documentation for this class was generated from the following file: