Flow123d  jenkins-Flow123d-linux-release-multijob-282
Classes | Namespaces | Typedefs | Functions
field_values.hh File Reference
#include <armadillo>
#include <boost/format.hpp>
#include <system/exceptions.hh>
#include "input/input_type.hh"
#include "input/accessors.hh"
#include <ostream>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StringTensor
 
struct  internal::InputType< ET >
 
struct  internal::InputType< int >
 
struct  internal::InputType< std::string >
 
struct  internal::InputType< FieldEnum >
 
struct  internal::ReturnType< NRows, NCols, ET >
 
struct  internal::ReturnType< 1, 1, ET >
 
struct  internal::ReturnType< 0, 1, ET >
 
struct  internal::ReturnType< NRows, 1, ET >
 
struct  internal::ReturnType< NRows, NCols, std::string >
 
struct  internal::ReturnType< 1, 1, std::string >
 
struct  internal::ReturnType< 0, 1, std::string >
 
struct  internal::ReturnType< NRows, 1, std::string >
 
struct  internal::ReturnType< NRows, NCols, FieldEnum >
 
struct  internal::ReturnType< 1, 1, FieldEnum >
 
struct  internal::ReturnType< 0, 1, FieldEnum >
 
struct  internal::ReturnType< NRows, 1, FieldEnum >
 
class  FieldValue_< NRows, NCols, ET >
 
struct  AccessTypeDispatch< ET >
 
struct  AccessTypeDispatch< unsigned int >
 
class  FieldValue_< 1, 1, ET >
 
class  FieldValue_< 0, 1, ET >
 
class  FieldValue_< NRows, 1, ET >
 
struct  FieldValue< spacedim >
 

Namespaces

 internal
 

Typedefs

typedef unsigned int FieldEnum
 

Functions

 TYPEDEF_ERR_INFO (EI_InputMsg, const string)
 
 DECLARE_INPUT_EXCEPTION (ExcFV_Input,<< "Wrong field value input: "<< EI_InputMsg::val)
 
std::string internal::type_name_ (double)
 
std::string internal::type_name_ (int)
 
std::string internal::type_name_ (std::string)
 
std::string internal::type_name_ (FieldEnum)
 
double & internal::scalar_value_conversion (double &ref)
 
int & internal::scalar_value_conversion (int &ref)
 
FieldEnuminternal::scalar_value_conversion (FieldEnum &ref)
 
std::string & internal::scalar_value_conversion (StringTensor &ref)
 
template<class RT >
RT & internal::set_raw_scalar (RT &val, double *raw_data)
 
template<class RT >
RT & internal::set_raw_scalar (RT &val, int *raw_data)
 
template<class RT >
RT & internal::set_raw_scalar (RT &val, string *raw_data)
 
template<class RT >
RT & internal::set_raw_scalar (RT &val, FieldEnum *raw_data)
 
template<class RT >
RT & internal::set_raw_vec (RT &val, double *raw_data)
 
template<class RT >
RT & internal::set_raw_vec (RT &val, int *raw_data)
 
template<class RT >
RT & internal::set_raw_vec (RT &val, string *raw_data)
 
template<class RT >
RT & internal::set_raw_vec (RT &val, FieldEnum *raw_data)
 
template<class RT >
RT & internal::set_raw_fix (RT &val, double *raw_data)
 
template<class RT >
RT & internal::set_raw_fix (RT &val, int *raw_data)
 
template<class RT >
RT & internal::set_raw_fix (RT &val, string *raw_data)
 
template<class RT >
RT & internal::set_raw_fix (RT &val, FieldEnum *raw_data)
 

Detailed Description

This file contains various dispatch classes to simplify implementation of Fields. Essential is class template FieldValues_ which provides unified access and initialization to scalar, vector and matrix type object in Armadillo library

Definition in file field_values.hh.

Typedef Documentation

typedef unsigned int FieldEnum

Definition at line 65 of file field_values.hh.

Function Documentation

DECLARE_INPUT_EXCEPTION ( ExcFV_Input  ,
<< "Wrong field value input: "<< EI_InputMsg::val   
)
TYPEDEF_ERR_INFO ( EI_InputMsg  ,
const string   
)