1#ifndef TATOOINE_VORTICITY_FIELD_H
2#define TATOOINE_VORTICITY_FIELD_H
13 :
public field<vorticity_field<V>, typename V::real_type, 3, 3> {
34 template <
typename Real>
43 const auto J = Jf(x, t);
44 return {J(2, 1) - J(1, 2), J(0, 2) - J(2, 0), J(1, 0) - J(0, 1)};
52template <
typename V,
typename Real>
Definition: vorticity_field.h:13
V m_vf
Definition: vorticity_field.h:28
vorticity_field< V > this_type
Definition: vorticity_field.h:19
constexpr tensor_type evaluate(const pos_type &x, real_type t) const
Definition: vorticity_field.h:41
constexpr bool in_domain(const pos_type &x, real_type t) const
Definition: vorticity_field.h:47
vorticity_field(const field< V, Real, 3, 3 > &v)
Definition: vorticity_field.h:35
typename V::real_type real_type
Definition: vorticity_field.h:18
Definition: algorithm.h:6
auto vorticity(const field< V, Real, 3, 3 > &vf)
Definition: vorticity_field.h:53
constexpr auto diff(polynomial< Real, Degree > const &f)
Definition: polynomial.h:179
vec< real_type, NumDimensions > pos_type
Definition: field.h:20
Tensor tensor_type
Definition: field.h:18
auto as_derived() -> auto &
Definition: field.h:161
constexpr auto in_domain(const pos_type &, double) const
Definition: symbolic_field.h:50