14 #include "metaphysicl/dualsemidynamicsparsenumberarray.h" 15 #include "metaphysicl/metaphysicl_exceptions.h" 19 template <std::
size_t N>
28 derivs.insert(index) =
value;
30 catch (MetaPhysicL::LogicError &)
35 "The last insertion into the sparse derivative storage container exceeded the " 36 "underlying array size. Consider running `configure --with-derivative-size=<n>` to " 37 "obtain a larger underlying container");
40 derivs.insert(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...