12 static constexpr uint32_t NO_DIFFERENTIATION = uint32_t(1) << 31;
23 const mfem::Vector&
ref;
26 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 serac::Functional::operator(),...
this type exists solely as a way to signal to serac::Functional that the function serac::Functional::...
const mfem::Vector & ref
the actual data wrapped by this type