Classes | |
class | triangleAccessor |
Public Member Functions | |
TypeInfo ("triSurface") | |
triSurface () | |
triSurface (const realx3Vector &points, const int32x3Vector &vertices) | |
triSurface (const realx3x3Vector &triangles) | |
virtual | ~triSurface ()=default |
size_t | numPoints () const |
size_t | numTriangles () const |
size_t | size () const |
size_t | capacity () const |
int32 | maxIndex () const |
auto | getTriangleAccessor () const |
const realx3Vector_D & | points () const |
realx3Vector_D & | points () |
const realVector_D & | area () const |
realVector_D & | area () |
const realx3 * | pointsData_D () const |
realx3 * | pointsData_D () |
const int32x3Vector_D & | vertices () const |
int32x3Vector_D & | vertices () |
int32x3 * | verticesData_D () |
const int32x3 * | verticesData_D () const |
void | clear () |
int32 | calcMaxIndex () const |
bool | readTriSurface (iIstream &is) |
bool | writeTriSurface (iOstream &os) const |
bool | read (iIstream &is) |
bool | write (iOstream &os) const |
![]() | |
eventSubscriber () | |
virtual | ~eventSubscriber () |
virtual bool | subscribe (eventObserver *observer) const |
virtual bool | unsubscribe (eventObserver *observer) const |
bool | notify (const eventMessage &msg) |
bool | notify (const eventMessage &msg, const List< eventObserver * > &exclutionList) |
Protected Member Functions | |
int32 | addTriangle (const realx3x3 &tri, realx3Vector &points, int32x3Vector &vertices) |
bool | check () |
Protected Attributes | |
realx3Field_D | points_ |
points of triangles More... | |
int32x3Field_D | vertices_ |
vectices indices of triangles More... | |
realField_D | area_ |
area of each triangle More... | |
int32 | maxIndex_ = -1 |
![]() | |
List< eventObserver * > | observerList_ |
Definition at line 38 of file triSurface.hpp.
triSurface | ( | ) |
Definition at line 114 of file triSurface.cpp.
triSurface | ( | const realx3Vector & | points, |
const int32x3Vector & | vertices | ||
) |
Definition at line 123 of file triSurface.cpp.
References pFlow::triSurfaceKernels::calculateArea(), fatalErrorInFunction, and fatalExit.
triSurface | ( | const realx3x3Vector & | triangles | ) |
Definition at line 148 of file triSurface.cpp.
References pFlow::triSurfaceKernels::calculateArea(), Vector< T, Allocator >::clear(), fatalErrorInFunction, and fatalExit.
|
virtualdefault |
|
protected |
Definition at line 29 of file triSurface.cpp.
References pFlow::find(), Vector< T, Allocator >::size(), triple< T >::x(), triple< T >::y(), and triple< T >::z().
|
protected |
Definition at line 103 of file triSurface.cpp.
TypeInfo | ( | "triSurface" | ) |
|
inline |
Definition at line 149 of file triSurface.hpp.
References triSurface::points_, and VectorSingle< T, MemorySpace >::size().
Referenced by pFlow::dataToVTK(), triSurface::getTriangleAccessor(), geometry::numPoints(), and pFlow::TSFtoVTK::triDataToVTK().
|
inline |
Definition at line 154 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::size(), and triSurface::vertices_.
Referenced by pFlow::dataToVTK(), triSurface::getTriangleAccessor(), triSurface::size(), and pFlow::TSFtoVTK::triDataToVTK().
|
inline |
Definition at line 159 of file triSurface.hpp.
References triSurface::numTriangles().
Referenced by geometry::afterIteration(), pFlow::TSFtoVTK::convertRealx3TypetriSurfaceField(), and geometry::size().
|
inline |
Definition at line 164 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::capacity(), and triSurface::vertices_.
|
inline |
Definition at line 169 of file triSurface.hpp.
References triSurface::maxIndex_.
|
inline |
Definition at line 174 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::deviceVectorAll(), triSurface::numPoints(), triSurface::numTriangles(), triSurface::points_, and triSurface::vertices_.
Referenced by triSurfaceField< VectorField, T, MemorySpace >::getTriangleAccessor(), and geometry::getTriangleAccessor().
|
inline |
Definition at line 184 of file triSurface.hpp.
References triSurface::points_.
Referenced by multiTriSurface::addTriSurface(), pFlow::dataToVTK(), geometry::points(), and pFlow::TSFtoVTK::triDataToVTK().
|
inline |
Definition at line 189 of file triSurface.hpp.
References triSurface::points_.
|
inline |
Definition at line 194 of file triSurface.hpp.
References triSurface::area_.
Referenced by multiTriSurface::addTriSurface(), and geometry::afterIteration().
|
inline |
Definition at line 199 of file triSurface.hpp.
References triSurface::area_.
|
inline |
Definition at line 204 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::deviceVectorAll(), and triSurface::points_.
|
inline |
Definition at line 209 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::deviceVectorAll(), and triSurface::points_.
|
inline |
Definition at line 214 of file triSurface.hpp.
References triSurface::vertices_.
Referenced by multiTriSurface::addTriSurface(), pFlow::dataToVTK(), pFlow::TSFtoVTK::triDataToVTK(), and geometry::vertices().
|
inline |
Definition at line 219 of file triSurface.hpp.
References triSurface::vertices_.
|
inline |
Definition at line 224 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::deviceVectorAll(), and triSurface::vertices_.
|
inline |
Definition at line 229 of file triSurface.hpp.
References VectorSingle< T, MemorySpace >::deviceVectorAll(), and triSurface::vertices_.
|
inline |
Definition at line 234 of file triSurface.hpp.
References triSurface::area_, VectorSingle< T, MemorySpace >::clear(), triSurface::points_, and triSurface::vertices_.
Referenced by multiTriSurface::clear().
pFlow::int32 calcMaxIndex | ( | ) | const |
Definition at line 81 of file triSurface.cpp.
References VectorSingle< T, MemorySpace >::deviceVectorAll(), LAMBDA_HD, pFlow::max(), VectorSingle< T, MemorySpace >::size(), and triSurface::vertices_.
bool readTriSurface | ( | iIstream & | is | ) |
Definition at line 191 of file triSurface.cpp.
References pFlow::triSurfaceKernels::calculateArea(), IOstream::fatalCheck(), FUNCTION_NAME, ioErrorInFile, IOstream::lineNumber(), and IOstream::name().
Referenced by pFlow::operator>>(), and triSurface::read().
bool writeTriSurface | ( | iOstream & | os | ) | const |
Definition at line 219 of file triSurface.cpp.
References IOstream::check(), and FUNCTION_NAME.
Referenced by pFlow::operator<<(), and triSurface::write().
|
inline |
Definition at line 249 of file triSurface.hpp.
References triSurface::readTriSurface().
|
inline |
Definition at line 254 of file triSurface.hpp.
References triSurface::writeTriSurface().
|
protected |
points of triangles
Definition at line 111 of file triSurface.hpp.
Referenced by triSurface::clear(), triSurface::getTriangleAccessor(), triSurface::numPoints(), triSurface::points(), and triSurface::pointsData_D().
|
protected |
vectices indices of triangles
Definition at line 114 of file triSurface.hpp.
Referenced by triSurface::calcMaxIndex(), triSurface::capacity(), triSurface::clear(), triSurface::getTriangleAccessor(), triSurface::numTriangles(), triSurface::vertices(), and triSurface::verticesData_D().
|
protected |
area of each triangle
Definition at line 117 of file triSurface.hpp.
Referenced by triSurface::area(), and triSurface::clear().
|
protected |
Definition at line 119 of file triSurface.hpp.
Referenced by triSurface::maxIndex().