14 template <
typename Functor>
18 using ret_type = decltype(
f(std::declval<unsigned int>()));
24 avg +=
f(qp) * JxW[qp] * coord[qp];
25 v += JxW[qp] * coord[qp];
void mooseSetToZero(T &v)
unsigned int size() const
FunctorEnvelope< T > Functor
Real f(Real x)
Test function for Brents method.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string v
IntRange< T > make_range(T beg, T end)
auto elementAverage(const Functor &f, const MooseArray< Real > &JxW, const MooseArray< Real > &coord)