12 static constexpr uint32_t NO_DIFFERENTIATION = uint32_t(1) << 31;
22 const mfem::Vector&
ref;
25 operator const mfem::Vector&()
const {
return ref; }
Accelerator functionality.
auto differentiate_wrt(const mfem::Vector &v)
this function is intended to only be used in combination with smith::Functional::operator(),...
this type exists solely as a way to signal to smith::Functional that the function smith::Functional::...
const mfem::Vector & ref
the actual data wrapped by this type