Flow123d  release_3.0.0-910-g56968e3
Classes | Namespaces | Enumerations | Functions
field_algo_base.hh File Reference
#include <string.h>
#include <boost/type_traits/is_same.hpp>
#include <limits>
#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include <armadillo>
#include "fields/field_values.hh"
#include "fields/field_flag.hh"
#include "input/type_selection.hh"
#include "mesh/point.hh"
#include "mesh/side_impl.hh"
#include "mesh/accessors.hh"
#include "system/asserts.hh"
#include "tools/time_governor.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ElementAccessor< spacedim >
 
struct  FieldAlgoBaseInitData
 Helper struct stores data for initizalize descentants of FieldAlgorithmBase. More...
 
class  FieldAlgorithmBase< spacedim, Value >
 

Namespaces

 Input
 Abstract linear system class.
 
 Input::Type
 

Enumerations

enum  FieldResult {
  result_none =0, result_other =1, result_constant =2, result_zeros =10,
  result_ones =20, result_eye =21
}
 

Functions

 TYPEDEF_ERR_INFO (EI_Field, std::string)
 Declaration of exception. More...
 
 DECLARE_INPUT_EXCEPTION (ExcUndefElementValue,<< "Values of some elements of FieldFE "<< EI_Field::qval<< " is undefined.\n"<< "Please specify in default_value key.\n")
 

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.

Todo:
  • better tests:
    • common set of quantities with different kind of values (scalar, vector, tensor, discrete, ..), common points and elements for evaluation
    • for individual Field implementations have:
      • different input
      • possibly different EPETCT_EQ tests, but rather have majority common

Definition in file field_algo_base.hh.

Enumeration Type Documentation

Indication of special field states. Returned by Field<>::field_result. Individual states have values corresponding to week ordering of the states according to the exactness of the value. May possibly be helpful in implementation, e.g. one can use (field_result >= result_constant) to check that the field is constant on given region.

Enumerator
result_none 
result_other 
result_constant 
result_zeros 
result_ones 
result_eye 

Definition at line 68 of file field_algo_base.hh.

Function Documentation

DECLARE_INPUT_EXCEPTION ( ExcUndefElementValue  ,
<< "Values of some elements of FieldFE "<< EI_Field::qval<< " is undefined.\n"<< "Please specify in default_value key.\n"   
)
TYPEDEF_ERR_INFO ( EI_Field  ,
std::string   
)

Declaration of exception.