#include <SiteListInterface.hpp>

Public Member Functions | |
| virtual | ~SiteListInterface () |
| virtual int | numSites () const =0 |
| virtual Position | sitePosition (int index) const =0 |
Protected Member Functions | |
| SiteListInterface () | |
SiteListInterface is a pure interface that provides the positions of a set of sites. It is implemented by density distributions (such as geometries or transfer media) that are defined through a set of particles or cells. The locations of these entities can serve, for example, as a hint for building an appropriate spatial grid.
|
inlineprotected |
The empty constructor for the interface.
|
inlinevirtual |
The empty destructor for the interface.
|
pure virtual |
This function returns the number of sites in the list.
Implemented in ImportedGeometry, and ImportedMedium.
|
pure virtual |
This function returns the coordinates of the site with the specified zero-based index. If the index is out of range, the behavior is undefined.
Implemented in ImportedGeometry, and ImportedMedium.