Flow123d
JS_before_hm-937-g93502c2
|
#include <field_values.hh>
Public Types | |
typedef ET | element_type |
typedef internal::ReturnType< 1, 1, ET >::return_type | return_type |
typedef internal::InputType< ET >::type | ElementInputType |
typedef internal::AccessTypeDispatch< ET >::type | AccessType |
Public Member Functions | |
FieldValue_ (return_type &val) | |
const ET * | mem_ptr () const |
void | init_from_input (AccessType val) |
void | set_n_comp (unsigned int) |
unsigned int | n_cols () const |
unsigned int | n_rows () const |
ET & | operator() (unsigned int, unsigned int) |
ET | operator() (unsigned int, unsigned int) const |
operator return_type () const | |
void | zeros () |
void | eye () |
void | ones () |
bool | equal_to (const return_type &other) |
void | scale (double scale_coef) |
Static Public Member Functions | |
static std::string | type_name () |
static IT::Parameter | get_input_type () |
static constexpr bool | is_scalable () |
static const return_type & | from_raw (return_type &val, ET *raw_data) |
static return_type | get_from_array (const Armor::Array< element_type > &arr, uint idx) |
Casts value stored in Armor::Array to return type. More... | |
Static Public Attributes | |
static const int | NRows_ = 1 |
static const int | NCols_ = 1 |
static const int | rank_ = 0 |
Private Attributes | |
return_type & | value_ |
Specialization for scalars
Definition at line 336 of file field_values.hh.
typedef internal::AccessTypeDispatch<ET>::type FieldValue_< 1, 1, ET >::AccessType |
Definition at line 341 of file field_values.hh.
typedef ET FieldValue_< 1, 1, ET >::element_type |
Definition at line 338 of file field_values.hh.
typedef internal::InputType<ET>::type FieldValue_< 1, 1, ET >::ElementInputType |
Definition at line 340 of file field_values.hh.
typedef internal::ReturnType<1, 1, ET>::return_type FieldValue_< 1, 1, ET >::return_type |
Definition at line 339 of file field_values.hh.
|
inline |
Definition at line 355 of file field_values.hh.
|
inline |
Definition at line 395 of file field_values.hh.
|
inline |
Definition at line 388 of file field_values.hh.
|
inlinestatic |
Returns reference to the return_type (i.e. double, or arma::vec or arma::mat); with data provided by the parameter raw_data
. A reference to a work space val
has to be provided for efficient work with vector and matrix values.
Definition at line 361 of file field_values.hh.
|
inlinestatic |
Casts value stored in Armor::Array to return type.
Definition at line 365 of file field_values.hh.
|
inlinestatic |
Definition at line 347 of file field_values.hh.
|
inline |
Definition at line 369 of file field_values.hh.
|
inlinestatic |
Definition at line 351 of file field_values.hh.
|
inline |
Definition at line 362 of file field_values.hh.
|
inline |
Definition at line 372 of file field_values.hh.
|
inline |
Definition at line 374 of file field_values.hh.
|
inline |
Definition at line 392 of file field_values.hh.
|
inline |
Definition at line 380 of file field_values.hh.
|
inline |
Definition at line 376 of file field_values.hh.
|
inline |
Definition at line 378 of file field_values.hh.
|
inline |
Definition at line 399 of file field_values.hh.
|
inline |
Definition at line 371 of file field_values.hh.
|
inlinestatic |
Definition at line 346 of file field_values.hh.
|
inline |
Definition at line 384 of file field_values.hh.
|
static |
Definition at line 343 of file field_values.hh.
|
static |
Definition at line 342 of file field_values.hh.
|
static |
Definition at line 344 of file field_values.hh.
|
private |
Definition at line 405 of file field_values.hh.