List of integer sets.
More...
#include <sets.hpp>
List of integer sets.
Definition at line 59 of file sets.hpp.
mfem::ListOfIntegerSets::~ListOfIntegerSets |
( |
| ) |
|
void mfem::ListOfIntegerSets::AsTable |
( |
Table & |
t | ) |
|
Write the list of sets into table 't'.
Definition at line 107 of file sets.cpp.
int mfem::ListOfIntegerSets::Insert |
( |
IntegerSet & |
s | ) |
|
Check to see if set 's' is in the list. If not append it to the end of the list. Returns the index of the list where set 's' can be found.
Definition at line 82 of file sets.cpp.
int mfem::ListOfIntegerSets::Lookup |
( |
IntegerSet & |
s | ) |
|
Return the index of the list where set 's' can be found. Returns -1 if not found.
Definition at line 95 of file sets.cpp.
int mfem::ListOfIntegerSets::PickElementInSet |
( |
int |
i | ) |
|
|
inline |
Return the value of the first element of the ith set.
Definition at line 70 of file sets.hpp.
int mfem::ListOfIntegerSets::PickRandomElementInSet |
( |
int |
i | ) |
|
|
inline |
Return a random value from the ith set in the list.
Definition at line 73 of file sets.hpp.
int mfem::ListOfIntegerSets::Size |
( |
| ) |
|
|
inline |
Return the number of integer sets in the list.
Definition at line 67 of file sets.hpp.
The documentation for this class was generated from the following files: