Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
FieldValue_< NRows, 1, ET > Class Template Reference

#include <field_values.hh>

Public Types

typedef ET element_type
 
typedef internal::ReturnType
< NRows, 1, ET >::return_type 
return_type
 
typedef internal::InputType
< ET >::type 
ElementInputType
 
typedef Input::Array AccessType
 

Public Member Functions

 FieldValue_ (return_type &val)
 
const ET * mem_ptr ()
 
void init_from_input (AccessType rec)
 
void set_n_comp (unsigned int)
 
unsigned int n_cols () const
 
unsigned int n_rows () const
 
ET & operator() (unsigned int i, unsigned int)
 
ET operator() (unsigned int i, unsigned int j) const
 
 operator return_type () const
 

Static Public Member Functions

static std::string type_name ()
 
static IT::Array get_input_type (const ElementInputType *element_input_type=nullptr)
 
static const return_typefrom_raw (return_type &val, ET *raw_data)
 

Static Public Attributes

static const int NRows_ = NRows
 
static const int NCols_ = 1
 

Private Attributes

return_typevalue_
 

Detailed Description

template<int NRows, class ET>
class FieldValue_< NRows, 1, ET >


Specialization for fixed size vectors

Definition at line 421 of file field_values.hh.

Member Typedef Documentation

template<int NRows, class ET >
typedef Input::Array FieldValue_< NRows, 1, ET >::AccessType

Definition at line 426 of file field_values.hh.

template<int NRows, class ET >
typedef ET FieldValue_< NRows, 1, ET >::element_type

Definition at line 423 of file field_values.hh.

template<int NRows, class ET >
typedef internal::InputType<ET>::type FieldValue_< NRows, 1, ET >::ElementInputType

Definition at line 425 of file field_values.hh.

template<int NRows, class ET >
typedef internal::ReturnType<NRows, 1, ET>::return_type FieldValue_< NRows, 1, ET >::return_type

Definition at line 424 of file field_values.hh.

Constructor & Destructor Documentation

template<int NRows, class ET >
FieldValue_< NRows, 1, ET >::FieldValue_ ( return_type val)
inline

Definition at line 440 of file field_values.hh.

Member Function Documentation

template<int NRows, class ET >
static const return_type& FieldValue_< NRows, 1, ET >::from_raw ( return_type val,
ET *  raw_data 
)
inlinestatic

Definition at line 441 of file field_values.hh.

template<int NRows, class ET >
static IT::Array FieldValue_< NRows, 1, ET >::get_input_type ( const ElementInputType element_input_type = nullptr)
inlinestatic

Definition at line 432 of file field_values.hh.

template<int NRows, class ET >
void FieldValue_< NRows, 1, ET >::init_from_input ( AccessType  rec)
inline

Definition at line 444 of file field_values.hh.

template<int NRows, class ET >
const ET* FieldValue_< NRows, 1, ET >::mem_ptr ( )
inline

Definition at line 442 of file field_values.hh.

template<int NRows, class ET >
unsigned int FieldValue_< NRows, 1, ET >::n_cols ( ) const
inline

Definition at line 464 of file field_values.hh.

template<int NRows, class ET >
unsigned int FieldValue_< NRows, 1, ET >::n_rows ( ) const
inline

Definition at line 466 of file field_values.hh.

template<int NRows, class ET >
FieldValue_< NRows, 1, ET >::operator return_type ( ) const
inline

Definition at line 473 of file field_values.hh.

template<int NRows, class ET >
ET& FieldValue_< NRows, 1, ET >::operator() ( unsigned int  i,
unsigned  int 
)
inline

Definition at line 468 of file field_values.hh.

template<int NRows, class ET >
ET FieldValue_< NRows, 1, ET >::operator() ( unsigned int  i,
unsigned int  j 
) const
inline

Definition at line 470 of file field_values.hh.

template<int NRows, class ET >
void FieldValue_< NRows, 1, ET >::set_n_comp ( unsigned  int)
inline

Definition at line 463 of file field_values.hh.

template<int NRows, class ET >
static std::string FieldValue_< NRows, 1, ET >::type_name ( )
inlinestatic

Definition at line 431 of file field_values.hh.

Member Data Documentation

template<int NRows, class ET >
const int FieldValue_< NRows, 1, ET >::NCols_ = 1
static

Definition at line 428 of file field_values.hh.

template<int NRows, class ET >
const int FieldValue_< NRows, 1, ET >::NRows_ = NRows
static

Definition at line 427 of file field_values.hh.

template<int NRows, class ET >
return_type& FieldValue_< NRows, 1, ET >::value_
private

Definition at line 477 of file field_values.hh.


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