A generator class returning a gaussian distributed random number.
label timeIndex() const noexcept
Return current time index.
void fill_random(scalarField &field, label seed=0, const bool gaussian=false) const
Fill a random field.
static point getPositionOfMaximum(const scalarField &vals, const pointField &locs)
Return the location of the max value.
static point getPositionOfMinimum(const scalarField &vals, const pointField &locs)
Return the location of the min value.
const TimeState * timeStatePtr_
Reference to the time-state.
void assign(Field< Tout > &result, const Field< T1 > &a, const UnaryOp &op)
Populate a field as the result of a unary operation on an input.
Tuple2< T1, T2 > findMaxData(const Field< T1 > &vals, const Field< T2 > &data)
Locate the max value in a field and return it and associated data.
Tuple2< T1, T2 > findMinData(const Field< T1 > &vals, const Field< T2 > &data)
Locate the min value in a field and return it and associated data.