Tatooine
|
constant vectorfield More...
#include <constant_vectorfield.h>
Public Types | |
using | this_type = constant_vectorfield< Real, N > |
using | parent_type = field< this_type, Real, N, N > |
![]() | |
using | this_type = field< constant_vectorfield< Real, N >, Real, NumDimensions, N > |
using | parent_type = polymorphic::field< Real, NumDimensions, N > |
using | pos_type = vec< real_type, NumDimensions > |
using | real_type = Real |
using | tensor_type = N |
![]() | |
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 | constant_vectorfield () |
constexpr | constant_vectorfield (const vec< Real, N > &vector) |
constexpr | constant_vectorfield (vec< Real, N > &&vector) |
constexpr tensor_type | evaluate (const pos_type &, Real) const |
constexpr bool | in_domain (const pos_type &, Real) 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 |
Public Attributes | |
const tensor_type | m_vector |
Private Member Functions | |
template<size_t... Is> | |
constexpr | constant_vectorfield (std::index_sequence< Is... >) |
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) |
constant vectorfield
using tatooine::constant_vectorfield< Real, N >::parent_type = field<this_type, Real, N, N> |
using tatooine::constant_vectorfield< Real, N >::this_type = constant_vectorfield<Real, N> |
|
inlineconstexprprivate |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprvirtual |
|
inlineconstexpr |
const tensor_type tatooine::constant_vectorfield< Real, N >::m_vector |