Flow123d  DF_patch_fe_data_tables-1a16803
Public Member Functions | Public Attributes | List of all members
FieldFE< spacedim, Value >::RegionValueErr Class Reference
Collaboration diagram for FieldFE< spacedim, Value >::RegionValueErr:
Collaboration graph
[legend]

Public Member Functions

 RegionValueErr ()
 Default constructor, sets valid region. More...
 
 RegionValueErr (const std::string &region_name, unsigned int elm_id, double value)
 Constructor, sets invalid region, element and value specification. More...
 

Public Attributes

bool is_invalid_
 
std::string region_name_
 
unsigned int elm_id_
 
double value_
 

Detailed Description

template<int spacedim, class Value>
class FieldFE< spacedim, Value >::RegionValueErr

Helper class holds data of invalid values of all regions.

If region contains invalid element value (typically 'not a number') is_invalid_ flag is set to true and other information (element id an value) are stored. Check of invalid values is performed during processing data of reader cache and possible exception is thrown only if FieldFE is defined on appropriate region.

Data of all regions are stored in vector of RegionValueErr instances.

Definition at line 218 of file field_fe.hh.

Constructor & Destructor Documentation

◆ RegionValueErr() [1/2]

template<int spacedim, class Value >
FieldFE< spacedim, Value >::RegionValueErr::RegionValueErr ( )
inline

Default constructor, sets valid region.

Definition at line 221 of file field_fe.hh.

◆ RegionValueErr() [2/2]

template<int spacedim, class Value >
FieldFE< spacedim, Value >::RegionValueErr::RegionValueErr ( const std::string &  region_name,
unsigned int  elm_id,
double  value 
)
inline

Constructor, sets invalid region, element and value specification.

Definition at line 224 of file field_fe.hh.

Member Data Documentation

◆ elm_id_

template<int spacedim, class Value >
unsigned int FieldFE< spacedim, Value >::RegionValueErr::elm_id_

Definition at line 233 of file field_fe.hh.

◆ is_invalid_

template<int spacedim, class Value >
bool FieldFE< spacedim, Value >::RegionValueErr::is_invalid_

Definition at line 231 of file field_fe.hh.

◆ region_name_

template<int spacedim, class Value >
std::string FieldFE< spacedim, Value >::RegionValueErr::region_name_

Definition at line 232 of file field_fe.hh.

◆ value_

template<int spacedim, class Value >
double FieldFE< spacedim, Value >::RegionValueErr::value_

Definition at line 234 of file field_fe.hh.


The documentation for this class was generated from the following file: