cellMapping< executionSpace > Class Template Reference

Public Types

using cellsWallLevel0Type = cellsWallLevel0< executionSpace >
 
using IdType = typename cellsWallLevel0Type::IdType
 
using IndexType = typename cellsWallLevel0Type::IndexType
 
using Cells = typename cellsWallLevel0Type::Cells
 
using CellType = typename Cells::CellType
 
using execution_space = typename cellsWallLevel0Type::execution_space
 
using memory_space = typename cellsWallLevel0Type::memory_space
 
using iBoxType = iBox< IndexType >
 

Public Member Functions

 TypeInfoNV ("cellMapping")
 
 cellMapping (const dictionary &dict, int32 numLevels, const Vector< Cells > &ppCells, int32 numPoints, int32 numElements, const ViewType1D< realx3, memory_space > &points, const ViewType1D< int32x3, memory_space > &vertices)
 
bool enterBoadSearch () const
 
bool performedSearch () const
 
template<typename PairsContainer , typename particleMapType >
bool broadSearch (PairsContainer &pairs, particleMapType &particleMap, bool force=false)
 

Protected Attributes

int32 updateFrequency_ =1
 
real cellExtent_
 
int32 currentIter_ = 0
 
bool performedSearch_ = false
 a broad search has been occured during last pass? More...
 
cellsWallLevel0Type cellsWallLevle_
 

Private Member Functions

bool performSearch ()
 

Detailed Description

template<typename executionSpace>
class pFlow::cellMapping< executionSpace >

Definition at line 34 of file cellMapping.hpp.

Member Typedef Documentation

◆ cellsWallLevel0Type

using cellsWallLevel0Type = cellsWallLevel0<executionSpace>

Definition at line 38 of file cellMapping.hpp.

◆ IdType

Definition at line 40 of file cellMapping.hpp.

◆ IndexType

Definition at line 42 of file cellMapping.hpp.

◆ Cells

Definition at line 44 of file cellMapping.hpp.

◆ CellType

using CellType = typename Cells::CellType

Definition at line 46 of file cellMapping.hpp.

◆ execution_space

Definition at line 48 of file cellMapping.hpp.

◆ memory_space

Definition at line 50 of file cellMapping.hpp.

◆ iBoxType

Definition at line 52 of file cellMapping.hpp.

Constructor & Destructor Documentation

◆ cellMapping()

cellMapping ( const dictionary dict,
int32  numLevels,
const Vector< Cells > &  ppCells,
int32  numPoints,
int32  numElements,
const ViewType1D< realx3, memory_space > &  points,
const ViewType1D< int32x3, memory_space > &  vertices 
)
inline

Definition at line 89 of file cellMapping.hpp.

Member Function Documentation

◆ performSearch()

bool performSearch ( )
inlineprivate

Definition at line 71 of file cellMapping.hpp.

References cellMapping< executionSpace >::currentIter_, and cellMapping< executionSpace >::updateFrequency_.

Referenced by cellMapping< executionSpace >::broadSearch().

Here is the caller graph for this function:

◆ TypeInfoNV()

TypeInfoNV ( "cellMapping< executionSpace >"  )

◆ enterBoadSearch()

bool enterBoadSearch ( ) const
inline

◆ performedSearch()

bool performedSearch ( ) const
inline

Definition at line 127 of file cellMapping.hpp.

References cellMapping< executionSpace >::performedSearch_.

◆ broadSearch()

bool broadSearch ( PairsContainer &  pairs,
particleMapType &  particleMap,
bool  force = false 
)
inline

Member Data Documentation

◆ updateFrequency_

int32 updateFrequency_ =1
protected

◆ cellExtent_

real cellExtent_
protected

Definition at line 60 of file cellMapping.hpp.

◆ currentIter_

◆ performedSearch_

bool performedSearch_ = false
protected

a broad search has been occured during last pass?

Definition at line 65 of file cellMapping.hpp.

Referenced by cellMapping< executionSpace >::broadSearch(), and cellMapping< executionSpace >::performedSearch().

◆ cellsWallLevle_

cellsWallLevel0Type cellsWallLevle_
protected

Definition at line 67 of file cellMapping.hpp.

Referenced by cellMapping< executionSpace >::broadSearch().


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