Tatooine
Public Types | Public Member Functions | List of all members
tatooine::symbolic::abcflow< real_type > Struct Template Reference

The Arnold–Beltrami–Childress (ABC) flow is a three-dimensional incompressible velocity field which is an exact solution of Euler's equation. More...

#include <abcflow.h>

Inheritance diagram for tatooine::symbolic::abcflow< real_type >:
[legend]
Collaboration diagram for tatooine::symbolic::abcflow< real_type >:
[legend]

Public Types

using this_type = abcflow< real_type >
 
using parent_type = field< real_type, 3, 3 >
 
- Public Types inherited from tatooine::symbolic::field< real_type, N, TensorDims >
using this_type = field< real_type, N, TensorDims... >
 
using parent_t = tatooine::field< this_type, real_type, N, TensorDims... >
 
using symtensor_type = tensor< GiNaC::ex, TensorDims... >
 
using pos_type = vec< real_type, NumDimensions >
 
using tensor_type = Tensor
 
- Public Types inherited from tatooine::field< field< real_type, N, TensorDims... >, real_type, N, TensorDims... >
using this_type = field< field< real_type, N, TensorDims... >, real_type, NumDimensions, TensorDims... >
 
using parent_type = polymorphic::field< real_type, NumDimensions, TensorDims... >
 
using pos_type = vec< real_type, NumDimensions >
 
using real_type = real_type
 
using tensor_type = TensorDims...
 
- 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

constexpr abcflow (const real_type a=1, const real_type b=1, const real_type c=1)
 
constexpr abcflow (const abcflow &other)=default
 
constexpr abcflow (abcflow &&other)=default
 
constexpr abcflowoperator= (const abcflow &other)=default
 
constexpr abcflowoperator= (abcflow &&other)=default
 
 ~abcflow () override=default
 
- Public Member Functions inherited from tatooine::symbolic::field< real_type, N, TensorDims >
constexpr field ()=default
 
constexpr field (const symtensor_type &ex)
 
constexpr field (symtensor_type &&ex)
 
auto expr () const -> const auto &
 
template<size_t... Is>
auto evaluate (const pos_type &_x, double _t, std::index_sequence< Is... >) const -> tensor_type
 
auto evaluate (const pos_type &_x, double _t) const -> tensor_type
 
constexpr auto in_domain (const pos_type &, double) const
 
- Public Member Functions inherited from tatooine::field< field< real_type, N, TensorDims... >, real_type, N, TensorDims... >
 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
 

Additional Inherited Members

- Static Public Member Functions inherited from tatooine::symbolic::field< real_type, N, TensorDims >
static auto x (size_t i) -> auto &
 
static auto t () -> auto &
 
- 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)
 
- Protected Member Functions inherited from tatooine::symbolic::field< real_type, N, TensorDims >
void set_expr (const symtensor_type &ex)
 
void set_expr (symtensor_type &&ex)
 

Detailed Description

template<typename real_type>
struct tatooine::symbolic::abcflow< real_type >

The Arnold–Beltrami–Childress (ABC) flow is a three-dimensional incompressible velocity field which is an exact solution of Euler's equation.

Member Typedef Documentation

◆ parent_type

template<typename real_type >
using tatooine::symbolic::abcflow< real_type >::parent_type = field<real_type, 3, 3>

◆ this_type

template<typename real_type >
using tatooine::symbolic::abcflow< real_type >::this_type = abcflow<real_type>

Constructor & Destructor Documentation

◆ abcflow() [1/3]

template<typename real_type >
constexpr tatooine::symbolic::abcflow< real_type >::abcflow ( const real_type  a = 1,
const real_type  b = 1,
const real_type  c = 1 
)
inlineexplicitconstexpr

◆ abcflow() [2/3]

template<typename real_type >
constexpr tatooine::symbolic::abcflow< real_type >::abcflow ( const abcflow< real_type > &  other)
constexprdefault

◆ abcflow() [3/3]

template<typename real_type >
constexpr tatooine::symbolic::abcflow< real_type >::abcflow ( abcflow< real_type > &&  other)
constexprdefault

◆ ~abcflow()

template<typename real_type >
tatooine::symbolic::abcflow< real_type >::~abcflow ( )
overridedefault

Member Function Documentation

◆ operator=() [1/2]

template<typename real_type >
constexpr abcflow & tatooine::symbolic::abcflow< real_type >::operator= ( abcflow< real_type > &&  other)
constexprdefault

◆ operator=() [2/2]

template<typename real_type >
constexpr abcflow & tatooine::symbolic::abcflow< real_type >::operator= ( const abcflow< real_type > &  other)
constexprdefault

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