|
PEARL
Parallel Event Access and Replay Library
|
Grouping set definition representation for a set of Location definition objects participating in a particular paradigm. More...
#include <pearl/CommLocationSet.h>
Public Member Functions | |
Constructors & destructor | |
| CommLocationSet (IdType id, const String &name, Paradigm paradigm, const std::vector< const Location * > &members) | |
| Constructor. More... | |
Query functions | |
| virtual SetType | getType () const |
| Get grouping set type. More... | |
| Paradigm | getParadigm () const |
| Get paradigm. More... | |
Public Member Functions inherited from pearl::LocationSet | |
| LocationSet (IdType id, const String &name, const std::vector< const Location * > &members) | |
| Constructor. More... | |
| std::size_t | numLocations () const |
| Get number of locations. More... | |
| const Location & | getLocation (std::size_t rank) const |
| Get location by rank. More... | |
Public Member Functions inherited from pearl::GroupingSet | |
| IdType | getId () const |
| Get global identifier. More... | |
| const String & | getName () const |
| Get grouping set name. More... | |
| virtual | ~GroupingSet () |
| Destructor. More... | |
Static Public Attributes | |
| static const IdType | NO_ID = (~static_cast< IdType >(0)) |
| Numerical identifier used for undefined communication location set definitions. More... | |
| static const CommLocationSet | UNDEFINED |
| Static instance of class CommLocationSet representing undefined communication location set entries in other definitions. More... | |
The CommLocationSet class provides a specialized location set definition representation for an ordered set of Location definition objects which participate in a particular paradigm. Note that a CommLocationSet does not take ownership of the provided Location definition objects. Thus, care has to be taken with respect to the deletion and lifetime of the referenced Location objects.
| pearl::CommLocationSet::CommLocationSet | ( | IdType | id, |
| const String & | name, | ||
| Paradigm | paradigm, | ||
| const std::vector< const Location * > & | members | ||
| ) |
Constructs a new instance with the given global identifier id, communication location set name, the corresponding paradigm, and a members vector providing an ordered list of Location definition objects defining the set.
| id | Global grouping set identifier |
| name | Communication location set name |
| paradigm | Communication paradigm |
| members | List of Location definition objects defining the set \n@par Exception safety\n <b class="paramname">Strong guarantee:</b> no effects in case an exception is thrown. <br>\n |
| std::bad_alloc | on failure to allocate storage |
| Paradigm pearl::CommLocationSet::getParadigm | ( | ) | const |
Returns the paradigm associated to this communication location set.
\n@par Exception safety\n <b class="paramname">No-throw guarantee:</b> never throws exceptions. <br>\n
|
virtual |
Returns the type of the grouping set.
\n@par Exception safety\n <b class="paramname">No-throw guarantee:</b> never throws exceptions. <br>\n
Reimplemented from pearl::LocationSet.
|
static |
![]() |
Copyright © 1998–2019 Forschungszentrum Jülich GmbH,
Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming |