Tatooine
|
#include <differentiated_field.h>
Public Types | |
using | this_type = time_differentiated_field< InternalField > |
using | parent_type = field< this_type, typename std::decay_t< InternalField >::real_type, std::decay_t< InternalField >::num_dimensions(), typename std::decay_t< InternalField >::tensor_type > |
using | vec_type = vec< real_type, num_dimensions()> |
![]() | |
using | this_type = field< time_differentiated_field< InternalField >, std::decay_t< InternalField >::real_type, NumDimensions, std::decay_t< InternalField >::tensor_type > |
using | parent_type = polymorphic::field< std::decay_t< InternalField >::real_type, NumDimensions, std::decay_t< InternalField >::tensor_type > |
using | pos_type = vec< real_type, NumDimensions > |
using | real_type = std::decay_t< InternalField >::real_type |
using | tensor_type = std::decay_t< InternalField >::tensor_type |
![]() | |
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 Field_ , arithmetic Eps> | |
time_differentiated_field (Field_ &&f, Eps const eps) | |
constexpr auto | evaluate (pos_type const &x, real_type const t) const -> tensor_type |
auto | set_eps (real_type eps) |
auto | eps () -> auto & |
auto | eps () const -> auto const & |
auto | internal_field () const -> auto const & |
![]() | |
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 |
![]() | |
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 |
Static Public Attributes | |
static constexpr auto | holds_field_pointer = is_pointer<InternalField> |
Private Attributes | |
InternalField | m_internal_field |
real_type | m_eps |
Additional Inherited Members | |
![]() | |
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) |
using tatooine::time_differentiated_field< InternalField >::parent_type = field<this_type, typename std::decay_t<InternalField>::real_type, std::decay_t<InternalField>::num_dimensions(), typename std::decay_t<InternalField>::tensor_type> |
using tatooine::time_differentiated_field< InternalField >::this_type = time_differentiated_field<InternalField> |
using tatooine::time_differentiated_field< InternalField >::vec_type = vec<real_type, num_dimensions()> |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
staticconstexpr |
|
private |
|
private |