Flow123d  3.9.1-0844c3d
Classes | Namespaces | Enumerations | Functions
field_algo_base.hh File Reference


More...

#include <string.h>
#include <type_traits>
#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 "fields/field_value_cache.hh"
#include "input/type_selection.hh"
#include "mesh/point.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

◆ FieldResult

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 70 of file field_algo_base.hh.

Function Documentation

◆ DECLARE_INPUT_EXCEPTION()

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

TYPEDEF_ERR_INFO ( EI_Field  ,
std::string   
)

Declaration of exception.