12 #include "MooseConfig.h" 14 #include "metaphysicl/dualnumberarray.h" 18 template <std::
size_t N>
22 mooseAssert(index < MOOSE_AD_MAX_DOFS_PER_ELEM,
23 "The requested derivative index " 24 << index <<
" is not less than " << MOOSE_AD_MAX_DOFS_PER_ELEM
25 <<
". You can run `configure --with-derivative-size=<n>` to request a larger " 26 "derivative container.");
27 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...