Flow123d  release_2.2.0-914-gf1a3a4f
Classes | Namespaces | Typedefs | Functions
field_values.hh File Reference
#include <cmath>
#include <cstdlib>
#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

struct  internal::InputType< ET >
 
struct  internal::InputType< int >
 
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, FieldEnum >
 
struct  internal::ReturnType< 1, 1, FieldEnum >
 
struct  internal::ReturnType< 0, 1, FieldEnum >
 
struct  internal::ReturnType< NRows, 1, FieldEnum >
 
struct  internal::AccessTypeDispatch< ET >
 
struct  internal::AccessTypeDispatch< unsigned int >
 
class  FieldValue_< NRows, NCols, ET >
 
class  FieldValue_< 1, 1, ET >
 
class  FieldValue_< 0, 1, ET >
 
class  FieldValue_< NRows, 1, ET >
 
class  StringTensor
 
struct  StringTensorInput< NRows, NCols >
 
struct  StringTensorInput< 1, 1 >
 
struct  StringTensorInput< Nrows, 1 >
 
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)
 
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, 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, 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, FieldEnum *raw_data)
 
template<class MatrixType >
void internal::init_matrix_from_input (MatrixType &value, Input::Array rec)
 
template<class VectorType >
void internal::init_vector_from_input (VectorType &value, Input::Array rec)
 

Detailed Description

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

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 43 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   
)