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...
 
SearchSweptFaceoperator= (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
DThe dimension of the problem space.
SourceMeshTypeThe mesh type of the input mesh.
TargetMeshTypeThe mesh type of the output mesh.

Constructor & Destructor Documentation

◆ SearchSweptFace() [1/2]

template<int D, typename SourceMeshType , typename TargetMeshType >
Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType >::SearchSweptFace ( )
delete

Default constructor (disabled)

◆ SearchSweptFace() [2/2]

template<int D, typename SourceMeshType , typename TargetMeshType >
Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType >::SearchSweptFace ( const SourceMeshType &  source_mesh,
const TargetMeshType &  target_mesh 
)
inline

Builds the search structure for the swept face algorithm.

Parameters
[in]source_mesh_wrapperPointer to a mesh wrapper for getting the source mesh info.
[in]target_mesh_wrapperPointer 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 >
Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType >::~SearchSweptFace ( )
default

Destructor.

Member Function Documentation

◆ operator()()

template<int D, typename SourceMeshType , typename TargetMeshType >
std::vector<int> Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType >::operator() ( const int  entityId) const
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]entityIdThe 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 >
SearchSweptFace& Portage::SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType >::operator= ( const SearchSweptFace< D, Entity_kind::CELL, SourceMeshType, TargetMeshType > &  )
delete

Assignment operator (disabled)


The documentation for this class was generated from the following file: