Base class for ways in which to generate coordinates in one-dimensional space. Used to space the representative spherical diameters of the groups in a population balance model. More...

Public Member Functions | |
| TypeName ("oneDimensionalDiscretisation") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, oneDimensionalDiscretisation, dictionary,(const word &name, const dimensionSet &dims, const label n, const dictionary &dict),(name, dims, n, dict)) | |
| oneDimensionalDiscretisation (const word &name, const dimensionSet &dims, const tmp< scalarField > &coordinates) | |
| Construct from components. More... | |
| virtual | ~oneDimensionalDiscretisation () |
| Destructor. More... | |
| const scalarField & | coordinates () const |
| Return the coordinates. More... | |
| PtrList< dimensionedScalar > | dimensionedCoordinates () const |
| Return the coordinates as a list of dimensioned scalars. More... | |
Static Public Member Functions | |
| static autoPtr< oneDimensionalDiscretisation > | New (const word &name, const dimensionSet &dims, const label n, const dictionary &dict) |
| Selector. More... | |
Base class for ways in which to generate coordinates in one-dimensional space. Used to space the representative spherical diameters of the groups in a population balance model.
Definition at line 52 of file oneDimensionalDiscretisation.H.
| oneDimensionalDiscretisation | ( | const word & | name, |
| const dimensionSet & | dims, | ||
| const tmp< scalarField > & | coordinates | ||
| ) |
Construct from components.
Definition at line 39 of file oneDimensionalDiscretisation.C.
|
virtual |
Destructor.
Definition at line 90 of file oneDimensionalDiscretisation.C.
| TypeName | ( | "oneDimensionalDiscretisation" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| oneDimensionalDiscretisation | , | ||
| dictionary | , | ||
| (const word &name, const dimensionSet &dims, const label n, const dictionary &dict) | , | ||
| (name, dims, n, dict) | |||
| ) |
|
static |
Selector.
Definition at line 55 of file oneDimensionalDiscretisation.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::indentOrNl(), Foam::Info, dictionary::lookup(), n, and Foam::name().
Referenced by populationBalanceModel::populationBalanceModel().


|
inline |
Return the coordinates.
Definition at line 31 of file oneDimensionalDiscretisationI.H.
Referenced by manual::manual().

| Foam::PtrList< Foam::dimensionedScalar > dimensionedCoordinates | ( | ) | const |
Return the coordinates as a list of dimensioned scalars.
Definition at line 97 of file oneDimensionalDiscretisation.C.
References Foam::tracking::coordinates(), forAll, Foam::name(), and PtrList< T >::set().
