Go to the documentation of this file.
20 #ifndef __internalPoints_hpp__
21 #define __internalPoints_hpp__
227 const std::array<real,6>& dist);
277 #endif //__internalPoints_hpp__
PointsTypeHost activePointsHost() const
pFlagTypeDevice pFlagsD_
flag of points on device
INLINE_FUNCTION_HD uint32 capacity() const
typename PointsType::execution_space execution_space
#define fatalExit
Fatal exit.
TypeInfo("internalPoints")
Field< realx3 > realx3Field_D
INLINE_FUNCTION_HD T & end()
End.
const PointsType & pointPosition() const
auto pointPositionHost() const
bool deletePoints(const uint32Vector_D &delPoints)
INLINE_FUNCTION_HD auto numActive() const
PointsType pointPosition_
Position of points on device.
void fillNeighborsLists(ViewType1D< uint32, memory_space > leftList, ViewType1D< uint32, memory_space > rightList, ViewType1D< uint32, memory_space > bottomList, ViewType1D< uint32, memory_space > topList, ViewType1D< uint32, memory_space > rearList, ViewType1D< uint32, memory_space > frontList)
bool pFlagSync_
if both host and device flags sync
auto pointPositionDevice() const
INLINE_FUNCTION_H auto deviceView() const
Device view range [0, size)
virtual boundaryBase & boundary(size_t boundaryIndex)=0
typename viewType::device_type device_type
Interface class for any input stream
const pFlagTypeDevice & activePointsMaskDevice() const
INLINE_FUNCTION_H auto hostView() const
Return a view accessible on Host in range [0,size)
bool changePointsFlagPosition(const uint32Vector_D &changePoints, realx3 transferVector, uint32 fromBoundaryIndex, uint32 toBoundaryIndex)
internalPoints & operator=(const internalPoints &)=delete
No Copy assignment.
typename PointsType::FieldTypeHost PointsTypeHost
bool sortPoints(const uint32IndexContainer &sortedIndices)
INLINE_FUNCTION_HD bool isAllActive() const
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
const INLINE_FUNCTION_HD auto & activeRange() const
pFlagTypeHost pFlagsH_
flag of points on host
uint32 updateFlag(const domain &dm, const std::array< real, 6 > &dist)
virtual const word & name() const
Return the name of the stream.
bool insertPoints(const realx3Vector &points, anyList &varList)
typename PointsType::device_type device_type
Kokkos::View< T *, properties... > ViewType1D
1D veiw as a vector
typename PointsType::memory_space memory_space
bool read(iIstream &is)
Read.
~internalPoints() override=default
Destructor.
#define ioErrorInFile(fileName, lineNumber)
Report an error in file operation with supplied fileName and lineNumber.
void createDeviceFlag(uint32 cap, uint32 start, uint32 end)
bool write(iOstream &os) const
Write.
int32 lineNumber() const
Const access to the current stream line number.
bool insertPointsOnly(const realx3Vector_D &points, message &msg, anyList &varList)
static const uint32 initialCapacity_
const pFlagTypeHost & activePointsMaskHost() const
typename VectorType::memory_space memory_space
pointFlag< DefaultExecutionSpace > pFlagTypeDevice
Interface class for any output stream.
Field< realx3, HostSpace > FieldTypeHost
typename VectorType::execution_space execution_space
It holds two vectors of indecis on Host and Device.