Tatooine
Public Types | Public Member Functions | List of all members
tatooine::analytical::symbolic::doublegyre< Real > Struct Template Reference

#include <doublegyre.h>

Inheritance diagram for tatooine::analytical::symbolic::doublegyre< Real >:
[legend]
Collaboration diagram for tatooine::analytical::symbolic::doublegyre< Real >:
[legend]

Public Types

using this_type = doublegyre< Real >
 
using parent_type = field< Real, 2, 2 >
 
- 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

 doublegyre (const GiNaC::ex &eps=GiNaC::numeric{1, 4}, const GiNaC::ex &omega=2 *GiNaC::Pi *GiNaC::numeric{1, 10}, const GiNaC::ex &A=GiNaC::numeric{1, 10})
 
constexpr auto in_domain (const pos_type &x, Real) const -> bool
 
- 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
 

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

◆ parent_type

template<typename Real >
using tatooine::analytical::symbolic::doublegyre< Real >::parent_type = field<Real, 2, 2>

◆ this_type

template<typename Real >
using tatooine::analytical::symbolic::doublegyre< Real >::this_type = doublegyre<Real>

Constructor & Destructor Documentation

◆ doublegyre()

template<typename Real >
tatooine::analytical::symbolic::doublegyre< Real >::doublegyre ( const GiNaC::ex &  eps = GiNaC::numeric{1, 4},
const GiNaC::ex &  omega = 2 * GiNaC::Pi * GiNaC::numeric{1, 10},
const GiNaC::ex &  A = GiNaC::numeric{1, 10} 
)
inlineexplicit

Member Function Documentation

◆ in_domain()

template<typename Real >
constexpr auto tatooine::analytical::symbolic::doublegyre< Real >::in_domain ( const pos_type x,
Real   
) const -> bool
inlineconstexpr

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