Partition set class.  
 More...
#include <partition_set.hpp>
Partition set class. 
This class acts as a container, which manages a set of partitions. This class is effectively just a wrapper around a deque of Partition objects.
- Author
- Peter Zajac 
Definition at line 185 of file partition_set.hpp.
◆ PartitionSet() [1/2]
  
  | 
        
          | FEAT::Geometry::PartitionSet::PartitionSet | ( |  | ) |  |  | inline | 
 
 
◆ PartitionSet() [2/2]
  
  | 
        
          | FEAT::Geometry::PartitionSet::PartitionSet | ( | PartitionSet && | other | ) |  |  | inline | 
 
 
◆ ~PartitionSet()
  
  | 
        
          | virtual FEAT::Geometry::PartitionSet::~PartitionSet | ( |  | ) |  |  | inlinevirtual | 
 
 
◆ add_partition()
  
  | 
        
          | void FEAT::Geometry::PartitionSet::add_partition | ( | Partition && | part | ) |  |  | inline | 
 
 
◆ clear()
  
  | 
        
          | void FEAT::Geometry::PartitionSet::clear | ( |  | ) |  |  | inline | 
 
 
◆ find_partition() [1/2]
  
  | 
        
          | const Partition * FEAT::Geometry::PartitionSet::find_partition | ( | int | size, |  
          |  |  | const std::deque< String > & | names, |  
          |  |  | int | prio = 0 |  
          |  | ) |  | const |  | inline | 
 
 
◆ find_partition() [2/2]
  
  | 
        
          | const Partition * FEAT::Geometry::PartitionSet::find_partition | ( | int | size, |  
          |  |  | const String & | name = "", |  
          |  |  | int | prio = 0 |  
          |  | ) |  | const |  | inline | 
 
Tries to find a suitable partition in the set. 
- Parameters
- 
  
    | [in] | size | The required size (number of ranks) of the partition. Must be > 0. |  | [in] | name | The required name of the partition. If nameis an empty string, the name of a partition is considered irrelevant. |  | [in] | prio | The required minimal priority of the partition. Only partitions with a priority greater or equal to prioare considered valid candidates. |  
 
- Returns
- A pointer to a Partition object that meets the requirements or nullptr, if no suitable partition was found in the set.
Definition at line 243 of file partition_set.hpp.
References find_partition().
Referenced by FEAT::Control::Domain::PartiDomainControl< DomainLevel_ >::_check_parti_extern(), and find_partition().
 
 
◆ get_partitions() [1/2]
  
  | 
        
          | std::deque< Partition > & FEAT::Geometry::PartitionSet::get_partitions | ( |  | ) |  |  | inline | 
 
 
◆ get_partitions() [2/2]
  
  | 
        
          | const std::deque< Partition > & FEAT::Geometry::PartitionSet::get_partitions | ( |  | ) | const |  | inline | 
 
 
◆ _parts
  
  | 
        
          | std::deque<Partition> FEAT::Geometry::PartitionSet::_parts |  | protected | 
 
 
The documentation for this class was generated from the following file: