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

#include <center.h>

Inheritance diagram for tatooine::analytical::numerical::center< Real >:
[legend]
Collaboration diagram for tatooine::analytical::numerical::center< Real >:
[legend]

Public Types

using this_type = center< Real >
 
using parent_type = vectorfield< this_type, Real, 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

constexpr center () noexcept
 
constexpr center (center const &)=default
 
constexpr center (center &&) noexcept=default
 
constexpr auto operator= (center const &) -> center &=default
 
constexpr auto operator= (center &&) noexcept -> center &=default
 
 ~center () override=default
 
constexpr auto evaluate (pos_type const &x, Real const) const -> tensor_type
 
- 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<floating_point Real>
using tatooine::analytical::numerical::center< Real >::parent_type = vectorfield<this_type, Real, 2>

◆ this_type

template<floating_point Real>
using tatooine::analytical::numerical::center< Real >::this_type = center<Real>

Constructor & Destructor Documentation

◆ center() [1/3]

template<floating_point Real>
constexpr tatooine::analytical::numerical::center< Real >::center ( )
inlineconstexprnoexcept

◆ center() [2/3]

template<floating_point Real>
constexpr tatooine::analytical::numerical::center< Real >::center ( center< Real > const &  )
constexprdefault

◆ center() [3/3]

template<floating_point Real>
constexpr tatooine::analytical::numerical::center< Real >::center ( center< Real > &&  )
constexprdefaultnoexcept

◆ ~center()

template<floating_point Real>
tatooine::analytical::numerical::center< Real >::~center ( )
overridedefault

Member Function Documentation

◆ evaluate()

template<floating_point Real>
constexpr auto tatooine::analytical::numerical::center< Real >::evaluate ( pos_type const &  x,
Real const   
) const -> tensor_type
inlineconstexprvirtual

◆ operator=() [1/2]

template<floating_point Real>
constexpr auto tatooine::analytical::numerical::center< Real >::operator= ( center< Real > &&  ) -> center &=default
constexprdefaultnoexcept

◆ operator=() [2/2]

template<floating_point Real>
constexpr auto tatooine::analytical::numerical::center< Real >::operator= ( center< Real > const &  ) -> center &=default
constexprdefault

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