Go to the documentation of this file.
22 #ifndef __triSurface_hpp__
23 #define __triSurface_hpp__
266 " error in reading triSurface from file.\n";
277 " error in writing triSurface to file.\n";
const int32x3 * verticesData_D() const
deviceViewType1D< int32x3 > dVectices_
auto getTriangleAccessor() const
realx3Vector_D & points()
deviceViewType1D< realx3 > dPoints_
INLINE_FUNCTION_HD realx3x3 operator[](int32 i) const
INLINE_FUNCTION_H void clear()
int32 calcMaxIndex() const
const realVector_D & area() const
INLINE_FUNCTION_HD realx3x3 triangle(int32 i) const
INLINE_FUNCTION_H size_t capacity() const
realx3Field_D points_
points of triangles
Kokkos::View< T * > deviceViewType1D
bool writeTriSurface(iOstream &os) const
const realx3Vector_D & points() const
int32x3Field_D vertices_
vectices indices of triangles
int32x3 * verticesData_D()
size_t numTriangles() const
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
int32x3Vector_D & vertices()
#define INLINE_FUNCTION_H
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
triple< realx3 > realx3x3
const realx3 * pointsData_D() const
virtual const word & name() const
INLINE_FUNCTION_HD int32 numPoints() const
virtual ~triSurface()=default
INLINE_FUNCTION_H triangleAccessor(int32 numPoints, deviceViewType1D< realx3 > points, int32 numTrianlges, deviceViewType1D< int32x3 > vertices)
const int32x3Vector_D & vertices() const
#define ioErrorInFile(fileName, lineNumber)
bool write(iOstream &os) const
INLINE_FUNCTION_HD realx3x3 operator()(int32 i) const
realField_D area_
area of each triangle
INLINE_FUNCTION_H size_t size() const
INLINE_FUNCTION_H viewType & deviceVectorAll()
#define INLINE_FUNCTION_HD
bool readTriSurface(iIstream &is)
INLINE_FUNCTION_HD triangleAccessor & operator=(const triangleAccessor &)=default
int32 addTriangle(const realx3x3 &tri, realx3Vector &points, int32x3Vector &vertices)
INLINE_FUNCTION_HD int32 numTrianlges() const
INLINE_FUNCTION_HD ~triangleAccessor()=default