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

#include <field_values.hh>

Public Types

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

Public Member Functions

const ET * mem_ptr ()
 
 FieldValue_ (return_type &val)
 
void init_from_input (AccessType rec)
 
void set_n_comp (unsigned int n_comp)
 
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_ = 0
 
static const int NCols_ = 1
 

Private Attributes

return_typevalue_
 

Detailed Description

template<class ET>
class FieldValue_< 0, 1, ET >


Specialization for variable size vectors

Definition at line 356 of file field_values.hh.

Member Typedef Documentation

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

Definition at line 361 of file field_values.hh.

template<class ET >
typedef ET FieldValue_< 0, 1, ET >::element_type

Definition at line 358 of file field_values.hh.

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

Definition at line 360 of file field_values.hh.

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

Definition at line 359 of file field_values.hh.

Constructor & Destructor Documentation

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

Definition at line 377 of file field_values.hh.

Member Function Documentation

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

Definition at line 374 of file field_values.hh.

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

Definition at line 367 of file field_values.hh.

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

Definition at line 380 of file field_values.hh.

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

Definition at line 375 of file field_values.hh.

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

Definition at line 402 of file field_values.hh.

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

Definition at line 404 of file field_values.hh.

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

Definition at line 411 of file field_values.hh.

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

Definition at line 406 of file field_values.hh.

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

Definition at line 408 of file field_values.hh.

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

Definition at line 401 of file field_values.hh.

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

Definition at line 366 of file field_values.hh.

Member Data Documentation

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

Definition at line 363 of file field_values.hh.

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

Definition at line 362 of file field_values.hh.

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

Definition at line 415 of file field_values.hh.


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