19#ifndef CORE_EXTERNAL_FIELD_FIELDS_CONSTANT_HPP
20#define CORE_EXTERNAL_FIELD_FIELDS_CONSTANT_HPP
32template <
typename T, std::
size_t codim>
class Constant {
Vector implementation and trait types for boost qvm interoperability.
A vector field that is constant in space.
Constant(const value_type &value)
detail::jacobian_type< T, codim > jacobian_type
bool fits_in_box(const Utils::Vector3d &) const
value_type operator()(const Utils::Vector3d &, double={}) const
typename Utils::decay_to_scalar< Utils::Vector< T, codim > >::type value_type
static constexpr jacobian_type jacobian(const Utils::Vector3d &)
Meta function to turns a Vector<1, T> into T.