Flow123d  release_2.2.0-914-gf1a3a4f
Classes | Enumerations
field_algo_base.hh File Reference
#include <string>
#include <memory>
#include <boost/type_traits.hpp>
#include "input/input_type_forward.hh"
#include "input/accessors_forward.hh"
#include "mesh/accessors.hh"
#include "mesh/point.hh"
#include "fields/field_values.hh"
#include "fields/unit_si.hh"
#include "fields/field_flag.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

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

Enumerations

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

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