66 namespace distributions
92 static const scalar a_;
101 static scalar approxErfInv(
const scalar
y);
120 scalar sampleForZeroQ(
const scalar
s)
const;
173 virtual scalar
sample()
const;
179 virtual scalar
min()
const;
182 virtual scalar
max()
const;
185 virtual scalar
mean()
const;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Multiple superimposed normal distributions.
Normal distribution, scaled so that it spans between a specified minimum and maximum value,...
virtual autoPtr< distribution > clone(const label sampleQ) const
Construct and return a clone.
virtual scalar min() const
Return the minimum value.
virtual scalar sample() const
Sample the distribution.
normal(const dictionary &dict, Random &rndGen, const label sampleQ)
Construct from a dictionary.
virtual tmp< scalarField > x(const label n) const
Return coordinates to plot across the range of the distribution.
virtual ~normal()
Destructor.
TypeName("normal")
Runtime type information.
virtual scalar max() const
Return the maximum value.
virtual scalar mean() const
Return the mean value.
A class for managing temporary objects.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
const dimensionedScalar mu
Atomic mass unit.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.