www.cemf.ir
cellsWallLevel0 Class Reference

Classes

class  TagFindCellRange2
 

Public Types

using execution_space = csExecutionSpace
 
using memory_space = typename execution_space::memory_space
 
using iBoxType = iBox< int32 >
 

Public Member Functions

 TypeInfoNV ("cellsWallLevel0")
 
INLINE_FUNCTION_HD cellsWallLevel0 ()
 
FUNCTION_H cellsWallLevel0 (real cellExtent, uint32 numPoints, uint32 numElements, const ViewType1D< realx3, memory_space > &points, const ViewType1D< uint32x3, memory_space > &vertices, const ViewType1D< realx3, memory_space > &normals)
 
bool resetElements (uint32 numElements, uint32 numPoints, const ViewType1D< realx3, memory_space > &points, const ViewType1D< uint32x3, memory_space > &vertices, const ViewType1D< realx3, memory_space > &normals)
 
INLINE_FUNCTION_HD iBoxType elementBox (uint32 i) const
 
INLINE_FUNCTION_HD uint32 numElements () const
 
bool broadSearch (csPairContainerType &pairs, const cells &searchBox, const mapperNBS::CellIterator &particleMap, const deviceViewType1D< realx3 > &pPoints, const deviceViewType1D< real > &pDiams, real sizeRatio)
 
bool build (const cells &searchBox)
 
bool particleWallFindPairs (csPairContainerType &pairs, const mapperNBS::CellIterator &particleMap, const deviceViewType1D< realx3 > &pPoints, const deviceViewType1D< real > &pDiams, real sizeRatio)
 
int32 findPairsElementRangeCount (csPairContainerType &pairs, const mapperNBS::CellIterator &particleMap, const deviceViewType1D< realx3 > &pPoints, const deviceViewType1D< real > &pDiams, real sizeRatio)
 

Private Types

using tpPWContactSearch = Kokkos::TeamPolicy< execution_space, Kokkos::Schedule< Kokkos::Dynamic >, Kokkos::IndexType< uint32 > >
 

Private Member Functions

FUNCTION_H void allocateArrays ()
 

Private Attributes

real cellExtent_ = 0.5
 
uint32 numElements_ = 0
 
uint32 numPoints_ = 0
 
ViewType1D< uint32x3, memory_spacevertices_
 
ViewType1D< realx3, memory_spacepoints_
 
ViewType1D< realx3, memory_spacenormals_
 
ViewType1D< iBoxType, memory_spaceelementBox_
 

Detailed Description

Definition at line 34 of file cellsWallLevel0.hpp.

Member Typedef Documentation

◆ execution_space

Definition at line 38 of file cellsWallLevel0.hpp.

◆ memory_space

using memory_space = typename execution_space::memory_space

Definition at line 40 of file cellsWallLevel0.hpp.

◆ iBoxType

using iBoxType = iBox<int32>

Definition at line 42 of file cellsWallLevel0.hpp.

◆ tpPWContactSearch

using tpPWContactSearch = Kokkos::TeamPolicy< execution_space, Kokkos::Schedule<Kokkos::Dynamic>, Kokkos::IndexType<uint32> >
private

Definition at line 73 of file cellsWallLevel0.hpp.

Constructor & Destructor Documentation

◆ cellsWallLevel0() [1/2]

Definition at line 86 of file cellsWallLevel0.hpp.

◆ cellsWallLevel0() [2/2]

cellsWallLevel0 ( real  cellExtent,
uint32  numPoints,
uint32  numElements,
const ViewType1D< realx3, memory_space > &  points,
const ViewType1D< uint32x3, memory_space > &  vertices,
const ViewType1D< realx3, memory_space > &  normals 
)

Definition at line 25 of file cellsWallLevel0.cpp.

Member Function Documentation

◆ allocateArrays()

FUNCTION_H void allocateArrays ( )
inlineprivate

Definition at line 76 of file cellsWallLevel0.hpp.

References cellsWallLevel0::elementBox_, cellsWallLevel0::numElements_, and pFlow::reallocNoInit().

+ Here is the call graph for this function:

◆ TypeInfoNV()

TypeInfoNV ( "cellsWallLevel0"  )

◆ resetElements()

bool resetElements ( uint32  numElements,
uint32  numPoints,
const ViewType1D< realx3, memory_space > &  points,
const ViewType1D< uint32x3, memory_space > &  vertices,
const ViewType1D< realx3, memory_space > &  normals 
)

Definition at line 45 of file cellsWallLevel0.cpp.

◆ elementBox()

INLINE_FUNCTION_HD iBoxType elementBox ( uint32  i) const
inline

Definition at line 110 of file cellsWallLevel0.hpp.

References cellsWallLevel0::elementBox_.

Referenced by cellsWallLevel0::build().

+ Here is the caller graph for this function:

◆ numElements()

INLINE_FUNCTION_HD uint32 numElements ( ) const
inline

Definition at line 116 of file cellsWallLevel0.hpp.

References cellsWallLevel0::numElements_.

◆ broadSearch()

bool broadSearch ( csPairContainerType pairs,
const cells searchBox,
const mapperNBS::CellIterator particleMap,
const deviceViewType1D< realx3 > &  pPoints,
const deviceViewType1D< real > &  pDiams,
real  sizeRatio 
)

Definition at line 66 of file cellsWallLevel0.cpp.

Referenced by NBS::impl_broadSearch().

+ Here is the caller graph for this function:

◆ build()

◆ particleWallFindPairs()

bool particleWallFindPairs ( csPairContainerType pairs,
const mapperNBS::CellIterator particleMap,
const deviceViewType1D< realx3 > &  pPoints,
const deviceViewType1D< real > &  pDiams,
real  sizeRatio 
)

◆ findPairsElementRangeCount()

Member Data Documentation

◆ cellExtent_

real cellExtent_ = 0.5
private

Definition at line 49 of file cellsWallLevel0.hpp.

Referenced by cellsWallLevel0::build().

◆ numElements_

uint32 numElements_ = 0
private

◆ numPoints_

uint32 numPoints_ = 0
private

Definition at line 55 of file cellsWallLevel0.hpp.

◆ vertices_

ViewType1D<uint32x3, memory_space> vertices_
private

Definition at line 58 of file cellsWallLevel0.hpp.

Referenced by cellsWallLevel0::build().

◆ points_

ViewType1D<realx3, memory_space> points_
private

Definition at line 61 of file cellsWallLevel0.hpp.

Referenced by cellsWallLevel0::build().

◆ normals_

ViewType1D<realx3, memory_space> normals_
private

Definition at line 64 of file cellsWallLevel0.hpp.

◆ elementBox_


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