Classes | |
class | activePointsDevice |
class | activePointsHost |
Public Types | |
enum | PointFlag : int8 { DELETED = -1, ACTIVE = 1 } |
Static Public Attributes | |
static const size_t | maxSizeDefault_ = 10000 |
Protected Member Functions | |
FUNCTION_H bool | evaluatePointStructure () |
FUNCTION_H void | setNumMaxPoints () |
FUNCTION_H realx3Field_D & | pointPosition () |
FUNCTION_H int8Field_HD & | pointFlag () |
FUNCTION_H uniquePtr< int32IndexContainer > | getNewPointsIndices (int32 numNewPoints) const |
Protected Attributes | |
size_t | numPoints_ = 0 |
size_t | maxPoints_ = maxSizeDefault_ |
int8Field_HD | pointFlag_ |
realx3Field_D | pointPosition_ |
size_t | numActivePoints_ = 0 |
range | activeRange_ |
int32IndexContainer | tobeInsertedIndex_ |
Index vector for points to be inserted. More... | |
int32IndexContainer | mortonSortedIndex_ |
Sorted index of particles based on morton code. More... | |
![]() | |
List< eventObserver * > | observerList_ |
Friends | |
class | dynamicPointStructure |
Definition at line 44 of file pointStructure.hpp.
Enumerator | |
---|---|
DELETED | |
ACTIVE |
Definition at line 50 of file pointStructure.hpp.
pointStructure | ( | ) |
Definition at line 144 of file pointStructure.cpp.
pointStructure | ( | const int8Vector & | flgVec, |
const realx3Vector & | posVec | ||
) |
Definition at line 153 of file pointStructure.cpp.
References fatalExit.
pointStructure | ( | const realx3Vector & | posVec | ) |
Definition at line 176 of file pointStructure.cpp.
References pointStructure::ACTIVE, and fatalExit.
|
default |
|
delete |
|
virtualdefault |
|
protected |
Definition at line 31 of file pointStructure.cpp.
References pointStructure::ACTIVE, pointStructure::activeRange_, VectorDual< T, MemorySpace >::deviceVectorAll(), fatalErrorInFunction, pFlow::maxActive(), pointStructure::numActivePoints_, pointStructure::numPoints_, pointStructure::pointFlag_, pointStructure::pointPosition_, pFlow::pointStructureKernels::scanPointFlag(), pointStructure::setNumMaxPoints(), VectorSingle< T, MemorySpace >::size(), and VectorDual< T, MemorySpace >::size().
|
protected |
Definition at line 58 of file pointStructure.cpp.
Referenced by pointStructure::evaluatePointStructure().
|
protected |
Definition at line 65 of file pointStructure.cpp.
Referenced by pFlow::PFtoVTK::convertTimeFolderPointFields(), pFlow::PFtoVTK::convertTimeFolderPointFieldsSelected(), selectBox::selectAllPointsInBox(), and dynamicPointStructure::update().
|
protected |
Definition at line 71 of file pointStructure.cpp.
Referenced by pointField< T >::pointFlag().
|
protected |
Definition at line 77 of file pointStructure.cpp.
References Vector< T, Allocator >::clear(), fatalErrorInFunction, and ForAll.
TypeInfo | ( | "pointStructure" | ) |
|
default |
|
delete |
|
inline |
Definition at line 235 of file pointStructure.hpp.
References pointStructure::activeRange(), pointStructure::allActive(), and VectorDual< T, MemorySpace >::deviceVectorAll().
|
inline |
Definition at line 244 of file pointStructure.hpp.
References pointStructure::activeRange(), pointStructure::allActive(), and VectorDual< T, MemorySpace >::hostVectorAll().
Referenced by pointRectCell::mapPOints().
const FUNCTION_H realx3Field_D& pointPosition | ( | ) | const |
const FUNCTION_H int8Field_HD& pointFlag | ( | ) | const |
|
inline |
Definition at line 262 of file pointStructure.hpp.
References VectorSingle< T, MemorySpace >::hostVectorAll(), and pointStructure::pointPosition_.
Referenced by dynamicPointStructure::pointPositionHostAll().
FUNCTION_H pFlow::label size | ( | ) | const |
Definition at line 212 of file pointStructure.cpp.
FUNCTION_H pFlow::label capacity | ( | ) | const |
Definition at line 218 of file pointStructure.cpp.
FUNCTION_H pFlow::label numActive | ( | ) | const |
Definition at line 224 of file pointStructure.cpp.
FUNCTION_H bool allActive | ( | ) | const |
Definition at line 230 of file pointStructure.cpp.
Referenced by pointStructure::activePointsMaskD(), pointStructure::activePointsMaskH(), and pointField< T >::allActive().
|
inline |
Definition at line 284 of file pointStructure.hpp.
References pointStructure::activeRange_.
Referenced by pointStructure::activePointsMaskD(), pointStructure::activePointsMaskH(), pointField< T >::activeRange(), and pointRectCell::mapPOints().
|
inline |
Definition at line 290 of file pointStructure.hpp.
References pointStructure::ACTIVE, and pointStructure::pointFlag_.
Referenced by pointField< T >::isActive().
FUNCTION_H size_t markDeleteOutOfBox | ( | const box & | domain | ) |
Definition at line 286 of file pointStructure.cpp.
References pointStructure::DELETED, fatalErrorInFunction, fatalExit, pFlow::pointStructureKernels::markDeleteOutOfBox(), and eventMessage::RANGE_CHANGED.
Referenced by dynamicPointStructure::markDeleteOutOfBox().
|
virtual |
Definition at line 342 of file pointStructure.cpp.
References notImplementedFunction.
|
virtual |
Definition at line 236 of file pointStructure.cpp.
References eventMessage::add(), eventMessage::CAP_CHANGED, pFlow::endl(), fatalErrorInFunction, pFlow::getSortedIndex(), eventMessage::RANGE_CHANGED, eventMessage::REARRANGE, and eventMessage::SIZE_CHANGED.
|
inline |
Definition at line 312 of file pointStructure.hpp.
References pointStructure::tobeInsertedIndex_.
Referenced by dynamicPointStructure::update().
|
inline |
Definition at line 318 of file pointStructure.hpp.
References indexContainer< IndexType >::hostView(), and pointStructure::tobeInsertedIndex_.
|
inline |
Definition at line 324 of file pointStructure.hpp.
References indexContainer< IndexType >::deviceView(), and pointStructure::tobeInsertedIndex_.
|
inline |
Definition at line 331 of file pointStructure.hpp.
References pointStructure::mortonSortedIndex_.
|
virtual |
Definition at line 351 of file pointStructure.cpp.
References eventMessage::add(), eventMessage::CAP_CHANGED, eventMessage::INSERT, pFlow::max(), pFlow::min(), eventMessage::RANGE_CHANGED, Vector< T, Allocator >::size(), and eventMessage::SIZE_CHANGED.
FUNCTION_H bool readPointStructure | ( | iIstream & | is | ) |
Definition at line 437 of file pointStructure.cpp.
References ioErrorInFile, IOstream::lineNumber(), iIstream::lookupDataOrSet(), and IOstream::name().
Referenced by pointStructure::read().
FUNCTION_H bool writePointStructure | ( | iOstream & | os | ) | const |
Definition at line 465 of file pointStructure.cpp.
References ioErrorInFile, IOstream::lineNumber(), IOstream::name(), and iOstream::writeWordEntry().
Referenced by pointStructure::write().
|
inline |
Definition at line 361 of file pointStructure.hpp.
References pointStructure::readPointStructure().
|
inline |
Definition at line 368 of file pointStructure.hpp.
References pointStructure::writePointStructure().
|
friend |
Definition at line 194 of file pointStructure.hpp.
|
inlinestatic |
Definition at line 57 of file pointStructure.hpp.
|
protected |
Definition at line 149 of file pointStructure.hpp.
Referenced by pointStructure::evaluatePointStructure().
|
protected |
Definition at line 152 of file pointStructure.hpp.
|
protected |
Definition at line 155 of file pointStructure.hpp.
Referenced by pointStructure::evaluatePointStructure(), and pointStructure::isActive().
|
protected |
Definition at line 158 of file pointStructure.hpp.
Referenced by pointStructure::evaluatePointStructure(), and pointStructure::pointPositionHostAll().
|
protected |
Definition at line 161 of file pointStructure.hpp.
Referenced by pointStructure::evaluatePointStructure().
|
protected |
Definition at line 164 of file pointStructure.hpp.
Referenced by pointStructure::activeRange(), and pointStructure::evaluatePointStructure().
|
protected |
Index vector for points to be inserted.
Definition at line 167 of file pointStructure.hpp.
Referenced by pointStructure::insertedPointIndex(), pointStructure::insertedPointIndexD(), and pointStructure::insertedPointIndexH().
|
protected |
Sorted index of particles based on morton code.
Definition at line 170 of file pointStructure.hpp.
Referenced by pointStructure::mortonSortedIndex().