38 return rndGen.sample01<scalar>() > 0.5 ? 1 : -1;
86 return position0_ +
n*x_;
114 bb.
min() = Rpg_ & -sigma_;
115 bb.
max() = Rpg_ & sigma_;
A bounding box defined in terms of min/max extrema points.
const point & max() const noexcept
Maximum describing the bounding box.
const point & min() const noexcept
Minimum describing the bounding box.
void move(const scalar dx)
Move the eddy.
scalar c1() const noexcept
Return the model coefficient c1.
const tensor & Rpg() const noexcept
Return the coordinate system transformation from local principal to global axes.
const point & position0() const noexcept
Return the reference position.
scalar volume() const
Volume.
boundBox bounds(const bool global=true) const
Eddy bounds.
const vector & alpha() const noexcept
Return the time-averaged intensity.
point position(const vector &n) const
Return the eddy position.
vector epsilon(Random &rndGen) const
Return random vector of -1 and 1's.
label patchFaceI() const noexcept
Return the patch face index that spawned the eddy.
scalar x() const noexcept
Return the distance from the reference position.
const vector & sigma() const noexcept
Return the length scales in 3-D space.
constexpr scalar pi(M_PI)
Different types of constants.
Cmpt cmptProduct(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
vector point
Point is a vector.