Flow123d  release_2.1.0-84-g6a13a75
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 57 of file region_set.hh.

Member Typedef Documentation

Definition at line 59 of file region_set.hh.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 36 of file region_set.cc.

Member Function Documentation

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

const int RegionSetFromId::registrar
staticprivate
Initial value:
=
Input::register_class< RegionSetFromId, const Input::Record &, Mesh * >("From_Id") +

Registrar of class to factory.

Definition at line 71 of file region_set.hh.


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