|
dune-common
2.3.1
|
Information describing an interface. More...
#include <dune/common/parallel/interface.hh>
Public Member Functions | |
| size_t | size () const |
| Get the number of entries in the interface. More... | |
| std::size_t & | operator[] (size_t i) |
| Get the local index for an entry. More... | |
| std::size_t | operator[] (size_t i) const |
| Get the local index for an entry. More... | |
| void | reserve (size_t size) |
| Reserve space for a number of entries. More... | |
| void | free () |
| void | add (std::size_t index) |
| Add a new index to the interface. More... | |
| InterfaceInformation () | |
| virtual | ~InterfaceInformation () |
| bool | operator!= (const InterfaceInformation &o) const |
| bool | operator== (const InterfaceInformation &o) const |
Information describing an interface.
This class is used for temporary gathering information about the interface needed for actually building it. It is used be class Interface as functor for InterfaceBuilder::build.
|
inline |
|
inlinevirtual |
|
inline |
Add a new index to the interface.
|
inline |
brief Frees allocated memory.
|
inline |
References operator==().
|
inline |
Referenced by operator!=().
|
inline |
Get the local index for an entry.
| i | The index of the entry. |
|
inline |
Get the local index for an entry.
| i | The index of the entry. |
|
inline |
Reserve space for a number of entries.
| size | The maximum number of entries to hold. |
References size().
|
inline |
Get the number of entries in the interface.
Referenced by Dune::Interface::print(), and reserve().
1.8.7