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