Flow123d  release_2.2.0-26-ge868538
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 105 of file region_set.hh.

Member Typedef Documentation

Definition at line 107 of file region_set.hh.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 147 of file region_set.cc.

Member Function Documentation

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

Returns Input Type Record of Region

Definition at line 189 of file region_set.cc.

Member Data Documentation

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

Registrar of class to factory.

Definition at line 119 of file region_set.hh.


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