16 params.addRequiredParam<std::string>(
"to_neml2",
17 "Name of the NEML2 variable or parameter to write to");
28 : _neml2_name(params.
get<
std::string>(
"to_neml2"))
const std::string _neml2_name
Name of the input variable or model parameter.
void insertInto(std::map< std::string, neml2::Tensor > &) const
Insert the gathered data into the NEML2 material model.
MOOSEToNEML2(const InputParameters ¶ms)
virtual neml2::Tensor gatheredData() const =0
Convert data gathered from MOOSE into neml2::Tensor.
void assertNEML2Enabled()
Assert that NEML2 is enabled.
static InputParameters validParams()
const Elem & get(const ElemType type_in)