Tatooine
|
#include <rbc.h>
Public Types | |
using | this_type = rbc |
using | parent_type = field< this_type, real_type, 2, 2 > |
using | grid_t = grid_sampler< real_type, 2, vec< real_type, 2 >, interpolation::linear, interpolation::linear > |
![]() | |
using | this_type = field< rbc, double, NumDimensions, 2 > |
using | parent_type = polymorphic::field< double, NumDimensions, 2 > |
using | pos_type = vec< real_type, NumDimensions > |
using | real_type = double |
using | tensor_type = 2 |
![]() | |
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 | |
rbc (const std::string &rbc_binary_dir) | |
void | read_from_binary (const std::string &rbc_binary_dir) |
tensor_type | evaluate (const pos_type &pos, real_type t) const |
bool | in_domain (const pos_type &p, real_type t) 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 std::array | dim {512ul, 128ul, 201ul} |
static constexpr grid | domain |
Private Attributes | |
std::vector< grid_t > | grids |
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::rbc::grid_t = grid_sampler<real_type, 2, vec<real_type, 2>, interpolation::linear, interpolation::linear> |
using tatooine::rbc::parent_type = field<this_type, real_type, 2, 2> |
using tatooine::rbc::this_type = rbc |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |
|
private |