PLaSK library
|
Base class for Elements with common code for 2D and 3D. More...
#include <plask/mesh/rectangular_masked_common.hpp>
Classes | |
class | const_iterator |
Iterator over elements. More... | |
Public Types | |
using | Element = typename MaskedMeshType::Element |
typedef const_iterator | iterator |
Iterator over elements. The same as const_iterator, since non-const iterators are not supported. | |
Public Member Functions | |
ElementsBase (const MaskedMeshType &maskedMesh) | |
std::size_t | size () const |
Get number of elements. | |
const_iterator | begin () const |
const_iterator | end () const |
Element | operator[] (std::size_t i) const |
Get i-th element. | |
Public Attributes | |
const MaskedMeshType * | maskedMesh |
Base class for Elements with common code for 2D and 3D.
Definition at line 92 of file rectangular_masked_common.hpp.
using plask::RectangularMaskedMeshBase< DIM >::ElementsBase< MaskedMeshType >::Element = typename MaskedMeshType::Element |
Definition at line 94 of file rectangular_masked_common.hpp.
typedef const_iterator plask::RectangularMaskedMeshBase< DIM >::ElementsBase< MaskedMeshType >::iterator |
Iterator over elements. The same as const_iterator, since non-const iterators are not supported.
Definition at line 123 of file rectangular_masked_common.hpp.
|
inlineexplicit |
Definition at line 127 of file rectangular_masked_common.hpp.
|
inline |
Definition at line 136 of file rectangular_masked_common.hpp.
|
inline |
Definition at line 139 of file rectangular_masked_common.hpp.
|
inline |
Get i-th
element.
i | element index |
i-th
element Definition at line 146 of file rectangular_masked_common.hpp.
|
inline |
Get number of elements.
Definition at line 133 of file rectangular_masked_common.hpp.
const MaskedMeshType* plask::RectangularMaskedMeshBase< DIM >::ElementsBase< MaskedMeshType >::maskedMesh |
Definition at line 125 of file rectangular_masked_common.hpp.