34 namespace oneDimensionalDiscretisations
52 const dimensionSet& dims,
54 const dictionary&
dict
57 const scalar
min =
dict.lookup<scalar>(
"min", dims);
58 const scalar
max =
dict.lookup<scalar>(
"max", dims);
63 <<
"The specified minimum and maximum values are not in order"
Macros for easy insertion into run-time selection tables.
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...
const scalarField & coordinates() const
Return the coordinates.
Exponential coordinate spacing. The i-th coordinate is given by:
exponential(const word &name, const dimensionSet &dims, const label n, const dictionary &dict)
Construct from a dictionary.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
addToRunTimeSelectionTable(oneDimensionalDiscretisation, exponential, dictionary)
defineTypeNameAndDebug(exponential, 0)
barycentric coordinates(const polyMesh &mesh, const point &position, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the coordinates given the position and tet topology.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< scalarField > linearSequence01(const label n)
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)