Flow123d  DF_patch_fe_data_tables-836d647
Public Types | Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
RegionSetFromElements Class Reference

#include <region_set.hh>

Inheritance diagram for RegionSetFromElements:
Inheritance graph
[legend]
Collaboration diagram for RegionSetFromElements:
Collaboration graph
[legend]

Public Types

typedef RegionSetBase FactoryBaseType
 

Public Member Functions

 RegionSetFromElements (const Input::Record &rec, Mesh *mesh)
 Constructor. More...
 
- Public Member Functions inherited from RegionSetBase
 TYPEDEF_ERR_INFO (EI_Operation_Type, const std::string)
 
 DECLARE_INPUT_EXCEPTION (ExcEmptyRegionSetResult,<< "Empty result of "<< EI_Operation_Type::val<< " operation.")
 

Static Public Member Functions

static const Input::Type::Recordget_region_input_type ()
 
- Static Public Member Functions inherited from RegionSetBase
static Input::Type::Abstractget_input_type ()
 

Static Private Attributes

static const int registrar
 Registrar of class to factory. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RegionSetBase
 RegionSetBase (Mesh *mesh)
 Constructor. More...
 
unsigned int get_max_region_id ()
 
- Protected Attributes inherited from RegionSetBase
RegionDBregion_db_
 Reference to region_db_ of Mesh. More...
 
RegionDB::MapElementIDToRegionIDel_to_reg_map_
 Reference to map stored relevance of elements to regions. More...
 

Detailed Description

Region declared by name, ID and enum of elements.

Allows to get existing region or create new and assign elements to its. Elements are specified by ids. If id of new region is not set, it is generated automatically.

Definition at line 114 of file region_set.hh.

Member Typedef Documentation

◆ FactoryBaseType

Definition at line 116 of file region_set.hh.

Constructor & Destructor Documentation

◆ RegionSetFromElements()

RegionSetFromElements::RegionSetFromElements ( const Input::Record rec,
Mesh mesh 
)

Constructor.

Definition at line 169 of file region_set.cc.

Member Function Documentation

◆ get_region_input_type()

const IT::Record & RegionSetFromElements::get_region_input_type ( )
static

Returns Input Type Record of Region

Definition at line 210 of file region_set.cc.

Member Data Documentation

◆ registrar

const int RegionSetFromElements::registrar
staticprivate
Initial value:
=
Input::register_class< RegionSetFromElements, const Input::Record &, Mesh * >("From_Elements") +
unsigned int size() const
Returns number of keys in the Record.
Definition: type_record.hh:602
static const Input::Type::Record & get_region_input_type()
Definition: region_set.cc:210

Registrar of class to factory.

Definition at line 128 of file region_set.hh.


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