Flow123d  DF_patch_fe_data_tables-b828b90
Public Types | Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
RegionSetFromId Class Reference

#include <region_set.hh>

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

Public Types

typedef RegionSetBase FactoryBaseType
 

Public Member Functions

 RegionSetFromId (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 id and name.

Allows to create new region with given id and label or specify existing region by id which will be renamed. If existing label is given, it must correspond with appropriate id in RegionDB.

Definition at line 66 of file region_set.hh.

Member Typedef Documentation

◆ FactoryBaseType

Definition at line 68 of file region_set.hh.

Constructor & Destructor Documentation

◆ RegionSetFromId()

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

Constructor.

Definition at line 36 of file region_set.cc.

Member Function Documentation

◆ get_region_input_type()

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

Returns Input Type Record of Region

Definition at line 74 of file region_set.cc.

Member Data Documentation

◆ registrar

const int RegionSetFromId::registrar
staticprivate
Initial value:
=
Input::register_class< RegionSetFromId, const Input::Record &, Mesh * >("From_Id") +
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:74

Registrar of class to factory.

Definition at line 80 of file region_set.hh.


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