Flow123d  DF_patch_fe_data_tables-18aea81
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
RegionSetIntersection Class Reference

#include <region_set.hh>

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

Public Types

typedef RegionSetBase FactoryBaseType
 

Public Member Functions

 RegionSetIntersection (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 ()
 

Private Member Functions

RegionSet intersection (RegionSet target_set, const std::string &source_set_name) const
 

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

Defines region as an intersection of given two or more regions.

Non-empty set must be the result of the operation.

Definition at line 209 of file region_set.hh.

Member Typedef Documentation

◆ FactoryBaseType

Definition at line 211 of file region_set.hh.

Constructor & Destructor Documentation

◆ RegionSetIntersection()

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

Constructor.

Definition at line 371 of file region_set.cc.

Member Function Documentation

◆ get_region_input_type()

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

Returns Input Type Record of Region

Definition at line 391 of file region_set.cc.

◆ intersection()

RegionSet RegionSetIntersection::intersection ( RegionSet  target_set,
const std::string &  source_set_name 
) const
private

Get RegionSet of specified name and create its intersection with target RegionSet.

Parameters
target_setFirst RegionSet
set_nameName of second RegionSet
Returns
RegionSet created of intersection operation

Definition at line 409 of file region_set.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ registrar

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

Registrar of class to factory.

Definition at line 223 of file region_set.hh.


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