19#ifndef CORE_EXTERNAL_FIELD_FIELDS_AFFINE_MAP_HPP
20#define CORE_EXTERNAL_FIELD_FIELDS_AFFINE_MAP_HPP
35template <
typename T, std::
size_t codim>
class AffineMap {
52 return m_A * pos + m_b;
Vector implementation and trait types for boost qvm interoperability.
Affine transform of a vector field.
value_type operator()(const Utils::Vector3d &pos, double={}) const
AffineMap(const jacobian_type &A, const value_type &b)
jacobian_type jacobian(const Utils::Vector3d &, double={}) const
detail::jacobian_type< T, codim > jacobian_type
typename Utils::decay_to_scalar< Utils::Vector< T, codim > >::type value_type
bool fits_in_box(const Utils::Vector3d &) const
Meta function to turns a Vector<1, T> into T.