Tatooine
Public Types | Public Member Functions | Private Attributes | List of all members
tatooine::lagrangian_Q_field< V, N > Class Template Reference

#include <lagrangian_Q_field.h>

Inheritance diagram for tatooine::lagrangian_Q_field< V, N >:
[legend]
Collaboration diagram for tatooine::lagrangian_Q_field< V, N >:
[legend]

Public Types

using real_type = typename V::real_type
 
using this_type = lagrangian_Q_field< V, N >
 
using parent_type = field< this_type, real_type, V::num_dimensions()>
 
using ode_solver_t = ode::boost::rungekuttafehlberg78< real_type, 3 >
 
using pos_type = vec< real_type, NumDimensions >
 
using tensor_type = Tensor
 
- Public Types inherited from tatooine::field< DerivedField, Real, NumDimensions, Tensor >
using this_type = field< DerivedField, Real, NumDimensions, Tensor >
 
using parent_type = polymorphic::field< Real, NumDimensions, Tensor >
 
using pos_type = vec< real_type, NumDimensions >
 
using real_type = Real
 
using tensor_type = Tensor
 
- Public Types inherited from tatooine::polymorphic::field< Real, NumDimensions, Tensor >
using real_type = Real
 
using tensor_type = Tensor
 
using this_type = field< real_type, NumDimensions, Tensor >
 
using pos_type = vec< real_type, NumDimensions >
 

Public Member Functions

template<typename Real >
 lagrangian_Q_field (const vectorfield< V, Real, N > &v, arithmetic auto const btau, arithmetic auto const ftau)
 
constexpr tensor_type evaluate (const pos_type &x, real_type t) const
 
constexpr bool in_domain (const pos_type &x, real_type t) const
 
- Public Member Functions inherited from tatooine::field< DerivedField, Real, NumDimensions, Tensor >
 field ()=default
 
 field (field const &)=default
 
 field (field &&) noexcept=default
 
auto operator= (field const &) -> field &=default
 
auto operator= (field &&) noexcept -> field &=default
 
virtual ~field ()=default
 
auto as_derived () -> auto &
 
auto as_derived () const -> auto const &
 
auto evaluate (pos_type const &x, real_type const t) const -> tensor_type override
 
- Public Member Functions inherited from tatooine::polymorphic::field< Real, NumDimensions, Tensor >
constexpr field ()=default
 
constexpr field (field const &)=default
 
constexpr field (field &&) noexcept=default
 
constexpr auto operator= (field const &) -> field &=default
 
constexpr auto operator= (field &&) noexcept -> field &=default
 
virtual ~field ()=default
 
virtual constexpr auto evaluate (pos_type const &, real_type const) const -> tensor_type=0
 
constexpr auto evaluate (fixed_size_vec< NumDimensions > auto const &x) const -> tensor_type
 
constexpr auto operator() (fixed_size_vec< NumDimensions > auto const &x, real_type const t) const -> tensor_type
 
constexpr auto operator() (fixed_size_vec< NumDimensions > auto const &x) const -> tensor_type
 
constexpr auto operator() (arithmetic auto const ... xs) const -> tensor_type
 

Private Attributes

V const & m_v
 
real_type m_btau
 
real_type m_ftau
 

Additional Inherited Members

- Static Public Member Functions inherited from tatooine::polymorphic::field< Real, NumDimensions, Tensor >
static auto constexpr ood_tensor ()
 
static auto constexpr ood_position ()
 
static constexpr auto is_field ()
 
static constexpr auto is_scalarfield ()
 
static constexpr auto is_vectorfield ()
 
static constexpr auto is_matrixfield ()
 
static constexpr auto num_dimensions () -> std::size_t
 
static constexpr auto num_tensor_components ()
 
static constexpr auto tensor_rank ()
 
static constexpr auto tensor_dimension (std::size_t i)
 

Member Typedef Documentation

◆ ode_solver_t

template<typename V , size_t N>
using tatooine::lagrangian_Q_field< V, N >::ode_solver_t = ode::boost::rungekuttafehlberg78<real_type, 3>

◆ parent_type

template<typename V , size_t N>
using tatooine::lagrangian_Q_field< V, N >::parent_type = field<this_type, real_type, V::num_dimensions()>

◆ pos_type

template<typename V , size_t N>
using tatooine::polymorphic::field< Real, NumDimensions, Tensor >::pos_type = vec<real_type, NumDimensions>

◆ real_type

template<typename V , size_t N>
using tatooine::lagrangian_Q_field< V, N >::real_type = typename V::real_type

◆ tensor_type

template<typename V , size_t N>
using tatooine::polymorphic::field< Real, NumDimensions, Tensor >::tensor_type = Tensor

◆ this_type

template<typename V , size_t N>
using tatooine::lagrangian_Q_field< V, N >::this_type = lagrangian_Q_field<V, N>

Constructor & Destructor Documentation

◆ lagrangian_Q_field()

template<typename V , size_t N>
template<typename Real >
tatooine::lagrangian_Q_field< V, N >::lagrangian_Q_field ( const vectorfield< V, Real, N > &  v,
arithmetic auto const  btau,
arithmetic auto const  ftau 
)
inline

Member Function Documentation

◆ evaluate()

template<typename V , size_t N>
constexpr tensor_type tatooine::lagrangian_Q_field< V, N >::evaluate ( const pos_type x,
real_type  t 
) const
inlineconstexpr

◆ in_domain()

template<typename V , size_t N>
constexpr bool tatooine::lagrangian_Q_field< V, N >::in_domain ( const pos_type x,
real_type  t 
) const
inlineconstexpr

Member Data Documentation

◆ m_btau

template<typename V , size_t N>
real_type tatooine::lagrangian_Q_field< V, N >::m_btau
private

◆ m_ftau

template<typename V , size_t N>
real_type tatooine::lagrangian_Q_field< V, N >::m_ftau
private

◆ m_v

template<typename V , size_t N>
V const& tatooine::lagrangian_Q_field< V, N >::m_v
private

The documentation for this class was generated from the following file: