13 #include "metaphysicl/dualnumberarray.h" 17 template <std::
size_t N>
21 mooseAssert(index < MOOSE_AD_MAX_DOFS_PER_ELEM,
22 "The requested derivative index " 23 << index <<
" is not less than " << MOOSE_AD_MAX_DOFS_PER_ELEM
24 <<
". You can run `configure --with-derivative-size=<n>` to request a larger " 25 "derivative container.");
26 derivs[index] =
value;
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
void derivInsert(SemiDynamicSparseNumberArray< Real, libMesh::dof_id_type, NWrapper< N >> &derivs, libMesh::dof_id_type index, Real value)
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...