48 Foam::expInterpolation::expInterpolation
68 const scalar t(time == 0 ? 1. : time);
69 const scalar
b(b_->value(t));
71 <<
type() <<
"::interpolate:: t, b value " << t <<
" " <<
b <<
endl;
73 res =
exp(-
b*(1.-arg)) - (1. - arg)*
exp(-
b);
85 const scalar t(mesh_.time().timeOutputValue());
86 const scalar
b(b_->value(t));
88 <<
type() <<
"derivative:: t, b " << t <<
" " <<
b <<
endl;
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Abstract base class for interpolation functions used in topology optimisation.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
virtual void interpolate(const scalarField &arg, scalarField &res) const
Interpolate argument and write to result.
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
#define DebugInfo
Report an information message using Foam::Info.
defineTypeNameAndDebug(combustionModel, 0)
scalar timeOutputValue() const
Return the current user-time value. (ie, after applying any timeToUserTime() conversion) ...
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
virtual tmp< scalarField > derivative(const scalarField &arg) const
Return of function with respect to the argument field.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static constexpr const zero Zero
Global zero (0)