Flow123d  3.9.0-fe8de472c
Classes | Namespaces | Typedefs | Functions
field_values.hh File Reference


More...

#include <string.h>
#include <boost/core/explicit_operator_bool.hpp>
#include <boost/optional/optional.hpp>
#include <cmath>
#include <cstdlib>
#include <limits>
#include <new>
#include <ostream>
#include <string>
#include <system/exceptions.hh>
#include <type_traits>
#include <vector>
#include <armadillo>
#include "system/fmt/format.h"
#include "input/accessors.hh"
#include "input/accessors_impl.hh"
#include "input/input_exception.hh"
#include "input/type_base.hh"
#include "input/type_generic.hh"
#include "input/type_selection.hh"
#include "system/armor.hh"

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 &, double *raw_data)
 
template<class RT >
RT & internal::set_raw_scalar (RT &, int *raw_data)
 
template<class RT >
RT & internal::set_raw_scalar (RT &, 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

◆ FieldEnum

typedef unsigned int FieldEnum

Definition at line 56 of file field_values.hh.

Function Documentation

◆ DECLARE_INPUT_EXCEPTION()

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

◆ TYPEDEF_ERR_INFO()

TYPEDEF_ERR_INFO ( EI_InputMsg  ,
const  string 
)