37 #ifndef oneDimensionalDiscretisation_H
38 #define oneDimensionalDiscretisation_H
72 TypeName(
"oneDimensionalDiscretisation");
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
Base class for ways in which to generate coordinates in one-dimensional space. Used to space the repr...
static autoPtr< oneDimensionalDiscretisation > New(const word &name, const dimensionSet &dims, const label n, const dictionary &dict)
Selector.
declareRunTimeSelectionTable(autoPtr, oneDimensionalDiscretisation, dictionary,(const word &name, const dimensionSet &dims, const label n, const dictionary &dict),(name, dims, n, dict))
virtual ~oneDimensionalDiscretisation()
Destructor.
TypeName("oneDimensionalDiscretisation")
Runtime type information.
PtrList< dimensionedScalar > dimensionedCoordinates() const
Return the coordinates as a list of dimensioned scalars.
oneDimensionalDiscretisation(const word &name, const dimensionSet &dims, const tmp< scalarField > &coordinates)
Construct from components.
const scalarField & coordinates() const
Return the coordinates.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Macros to ease declaration of run-time selection tables.