Go to the documentation of this file.
97 #ifndef distributionModels_general_H
98 #define distributionModels_general_H
114 namespace distributionModels
120 Istream&
operator>>(Istream&, distributionModels::general&);
121 Ostream&
operator<<(Ostream&,
const distributionModels::general&);
123 namespace distributionModels
132 public distributionModel
134 typedef VectorSpace<Vector<scalar>, scalar, 2> pair;
148 List<scalar> integral_;
176 const scalar binWidth,
206 virtual scalar
sample()
const;
A class for handling words, derived from Foam::string.
virtual tmp< scalarField > x() const
virtual scalar meanValue() const
A class for managing temporary objects.
void operator=(const general &)=delete
const word dictName("faMeshDefinition")
Istream & operator>>(Istream &, directionInfo &)
A library of runtime-selectable doubly-truncated probability distribution models. Returns random samp...
virtual ~general()=default
Particle-size distribution model wherein random samples are drawn from a given arbitrary probability ...
virtual tmp< scalarField > y() const
virtual scalar sample() const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
General relative velocity model.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual void readDict(const dictionary &dict)
virtual dictionary writeDict(const word &dictName) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
general(const dictionary &dict, Random &rndGen)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual autoPtr< distributionModel > clone() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual void readData(Istream &os)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void writeData(Ostream &os) const