Go to the documentation of this file.
24 auto dt =
static_cast<real>(1.0/zResolution);
26 for(
int32 i=0; i<zResolution; i++)
29 auto lp2 = cylAxis.
point(t);
52 realx3Vector r1P(
"r1P",numDiv + 1), r2P(
"r1P",numDiv + 1);
53 real dTheta = 2 *
Pi / numDiv;
56 for (
int32 i = 0; i < numDiv + 1; i++)
64 for (
int32 i = 0; i < numDiv + 1; i++)
71 for (
int32 i = 0; i < numDiv; i++)
80 triangles_.push_back(
realx3x3(p1, p2, p3));
91 triangles_.push_back(
realx3x3(p3, p4, p1));
std::vector< realx3x3 > triangles_
T getValOrSet(const word &keyword, const T &setVal) const
get the value of data entry or if not found, set the value to setVal
#define fatalExit
Fatal exit.
Vector< T, Allocator > cos(const Vector< T, Allocator > &v)
bool checkNormalVec(const realx3 &p1, const realx3 &p2, const realx3 &p3, realx3 &norm)
iOstream & endl(iOstream &os)
Add newline and flush stream.
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
INLINE_FUNCTION_HD realx3 point(real t) const
bool readCylinderWall(const dictionary &dict)
triple< realx3 > realx3x3
realx3 transferBackZ(const realx3 &p) const
T getVal(const word &keyword) const
get the value of data entry
Vector< T, Allocator > sin(const Vector< T, Allocator > &v)
bool createCylinder(const realx3 &p1, const realx3 &p2, real rad1, real rad2, int32 numDiv)
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...