27#include "neml2/models/NonlinearParameter.h"
76 " as a function of the given argument. See neml2::Interpolation for rules on "
77 "shapes of the interpolant and the argument.";
80 options.
set(
"argument").doc() =
"Argument used to query the interpolant";
83 options.
set(
"abscissa").doc() =
"Scalar defining the abscissa values of the interpolant";
86 options.
set(
"ordinate").doc() =
tensor_type +
" defining the ordinate values of the interpolant";
95 _Y(
this->
template declare_parameter<T>(
"Y",
"ordinate")),
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
The base class for interpolated nonlinear parameter.
Definition Interpolation.h:49
const Scalar & _X
The abscissa values of the interpolant.
Definition Interpolation.h:57
const Variable< Scalar > & _x
Argument of interpolation.
Definition Interpolation.h:63
const T & _Y
The ordinate values of the interpolant.
Definition Interpolation.h:60
static OptionSet expected_options()
Definition Interpolation.h:68
Interpolation(const OptionSet &options)
Definition Interpolation.h:92
The base class for nonlinear parameters.
Definition NonlinearParameter.h:50
static OptionSet expected_options()
Definition NonlinearParameter.cxx:31
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:85
LabeledAxisAccessor & set_input(const std::string &)
Definition OptionSet.cxx:74
const std::string & doc() const
A readonly reference to the option set's docstring.
Definition OptionSet.h:120
T & set(const std::string &)
Definition OptionSet.h:523
Scalar.
Definition Scalar.h:38
std::string demangle(const char *name)
Demangle a piece of cxx abi type information.
Definition utils.cxx:32
Definition CrossRef.cxx:31
std::string name(ElasticConstant p)
Definition ElasticityConverter.cxx:30